dotfiles/fake_home/.vim/templates/skeleton.rb

17 lines
217 B
Ruby
Raw Normal View History

#!/usr/bin/env ruby
2024-01-20 19:19:02 -05:00
# skeleton.rb
class Person
def initialize(name)
@name = name
end
def greet
puts "Hello, my name is #{@name}!"
end
end
friend = Person.new("Andrea")
friend.greet