Ruby - Modules and Mixins
What will be the output of this Ruby code?
module Greetings
def self.say_hello(name)
"Hello, #{name}!"
end
end
puts Greetings.say_hello('Alice')