Module: WordsWithDave::Greeting
- Defined in:
- lib/words_with_dave/greeting.rb
Class Method Summary collapse
Class Method Details
.greet_user(user, greeting = 'Hello') ⇒ Object
2 3 4 |
# File 'lib/words_with_dave/greeting.rb', line 2 def self.greet_user(user, greeting = 'Hello') "#{greeting} #{user}" end |