Displaying 1 result from an estimated 1 matches for "schoolcass".
Did you mean:
schoolclass
2006 Mar 09
1
OOP basics
I''ve got:
def new
@schoolclass = Schoolclass.new(:day=>1, :start_time=>"2006:01:01
00:00:00, :description=>"enter description here")
breakpoint()
end
after the breakpoint, I can @schoolclass.inspect and see the
@schoolclass attributes, however @schoolclass.day, @schoolclass[:day]
and @schoolclass["day"] all return NIL.
what am I doing wrong?