0
왜 인스턴스 변수에 액세스 할 수 없습니까?rspec --innit; .bash_profile이 작동하지 않습니다.
let(:hotel2) { Hotel.new name: 'Premier Inn', rating: 1,
city: 'Leeds', total_rooms: 15, features: [] }
초기화 할 때 호출하고 있지만 잘못된 인수 오류가 계속 발생합니다.
def initialize()
@name = name
@rating = rating
@city = city
@total_rooms = total_rooms
@features = features
end
아이디어가 있으십니까?