Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/core_ext/object.rb
Instance Method Summary collapse
Instance Method Details
#describe(description, &block) ⇒ Object
2 3 4 |
# File 'lib/core_ext/object.rb', line 2 def describe(description, &block) Catechism::DescribeBlock.new(description).instance_eval(&block) if block_given? end |