Class: Caser

Inherits:
Object
  • Object
show all
Includes:
Greet
Defined in:
lib/hihi.rb

Instance Method Summary collapse

Methods included from Greet

#hello

Instance Method Details

#all_cap(msg) ⇒ Object



18
19
20
# File 'lib/hihi.rb', line 18

def all_cap(msg)
  msg.upcase 
end

#one_cap(msg) ⇒ Object



14
15
16
# File 'lib/hihi.rb', line 14

def one_cap(msg)
  msg.capitalize 
end