Hello world!

成为了LiveSpace的难民。于是登录WordPress。

坚决不海龟XD

一条回应 to “Hello world!”

  1. Karloku 说道:

    class Greeter
    def initialize(name)
    @name = name.capitalize
    end

    def salute
    puts “Hello #{@name}!”
    end
    end

    # Create a new object
    g = Greeter.new(“world”)

    # Output “Hello World!”
    g.salute

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Connecting to %s

加关注

Get every new post delivered to your Inbox.