14 Dec '12, 3pm

Groovyいんじゃね? / “Rubyist Magazine - 他言語からの訪問 【第 1 回】 Groovy”

class Person attr_accessor :name, :age def initialize(name, age) @name = name @age = age end def to_s "Name is #{@name}, age is #{@age}." end end p = Person.new('taro', 30) puts p

Full article: http://jp.rubyist.net/magazine/?0034-GuestTalk

Tweets