tw-oocamp-201512 / the-code-of-you

使用你最喜欢的语言写一段代码来介绍你自己,提交在Issues里
1 stars 1 forks source link

Zhang Qingbo #15

Open ripple0328 opened 8 years ago

ripple0328 commented 8 years ago
class Me
  class << self
    def name
      'Zhang Qingbo'
    end

    def work_experience
      '2.5 years thoughtworks and 7 years total'
    end

    def program_lang
      %w|ruby javascript|.join(' ')
    end

    def to_s
      "My name is #{name}, I have #{work_experience} work experience, I use #{program_lang}..."
    end
  end
end
ripple0328 commented 8 years ago

"My name is Zhang Qingbo, I have 2.5 years thoughtworks and 7 years total work experience, I use ruby javascript..."