class Distortioner::Say
Public Instance Methods
hi(to: :mr_sourcerer)
click to toggle source
# File lib/distortioner/say.rb, line 7 def hi(to: :mr_sourcerer) if to == :mr_sourcerer $stdout.puts "I am politely saying hi on behalf of Ricardo Valeriano!" $stdout.puts " He sure hope you are having fun reading his book. 🙌" return end $stdout.puts "Hi, #{to}!" end
version()
click to toggle source
# File lib/distortioner/say.rb, line 3 def version $stdout.puts Distortioner::VERSION end