Module: Tomayo
- Defined in:
- lib/tomayo.rb,
lib/tomayo/version.rb
Constant Summary collapse
- VERSION =
"0.0.3.1"
Class Method Summary collapse
Class Method Details
.add_tomato(input, classname) ⇒ Object
8 9 10 |
# File 'lib/tomayo.rb', line 8 def self.add_tomato(input, classname) "<div style=\"color:tomato;\" class=\"#{classname.to_s}\">#{input.to_s}</div>" end |
.tomayo_it(input, classname) ⇒ Object
12 13 14 |
# File 'lib/tomayo.rb', line 12 def self.tomayo_it(input, classname) "<div style=\"color:tomato;\" class=\"#{classname.to_s}\">#{Tomayo.yo(input)}</div>" end |
.yo(input) ⇒ Object
4 5 6 |
# File 'lib/tomayo.rb', line 4 def self.yo(input) input.to_s + ", yo!" end |