Class: Utter::Context
- Inherits:
-
Object
- Object
- Utter::Context
- Defined in:
- lib/utter.rb
Overview
Makes sure that any class that inherits form “< Utter::Ext” must implement :initialize and :call class Ext < Mushin::Ext end
Instance Method Summary collapse
-
#initialize(&block) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(&block) ⇒ Context
Returns a new instance of Context.
90 91 92 |
# File 'lib/utter.rb', line 90 def initialize &block instance_eval &block if block_given? end |