Class: Object
Constant Summary
Constants included from Curse
Instance Method Summary collapse
Methods included from Curse
#adverbs, #curses, language=, register
Instance Method Details
#curse(other = nil) ⇒ Object
47 48 49 50 51 52 53 |
# File 'lib/curse.rb', line 47 def curse(other = nil) if other "#{self}: #{ Kernel.adverbs.join(' ') } #{other}" else "#{self}: #{Kernel.curses}" end end |