Module: Stove::Mixin::Instanceable::ClassMethods

Defined in:
lib/stove/mixins/instanceable.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args, &block) ⇒ Object



19
20
21
# File 'lib/stove/mixins/instanceable.rb', line 19

def method_missing(m, *args, &block)
  instance.send(m, *args, &block)
end

Instance Method Details

#inspectObject



17
# File 'lib/stove/mixins/instanceable.rb', line 17

def inspect; instance.inspect; end

#to_sObject



16
# File 'lib/stove/mixins/instanceable.rb', line 16

def to_s; instance.to_s; end