= [[klass alloc] init]; [member setName:name]; [member say:@"Hello, RubyMotion Kaigi!"]; } @end class Member attr_accessor :name def say(message) puts "My name is #{name}" puts message end end 135݄30༵
= [[klass alloc] init]; [member setName:name]; [member say:@"Hello, RubyMotion Kaigi!"]; } @end Kaigi.new.join("Shizuo") class Member attr_accessor :name def say(message) puts "My name is #{name}" puts message end end 135݄30༵