rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/ruby

10 lines
116 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
class Greeter
def initialize(name="World")
@name = name
end
def say_hi
puts "Hi #{@name}!"
end
end