Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/object.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.todo(msg) ⇒ Object
8 9 10 11 12 |
# File 'lib/object.rb', line 8 def self.todo msg unless msg and msg.is_a?(String) raise "todo method requires you to pass a todo description as a first argument" end end |
Instance Method Details
#todo(msg) ⇒ Object
2 3 4 5 6 |
# File 'lib/object.rb', line 2 def todo msg unless msg and msg.is_a?(String) raise "todo method requires you to pass a todo description as a first argument" end end |