Module: Remarkably::Common
- Defined in:
- lib/remarkably.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &block) ⇒ Object
58
59
60
61
|
# File 'lib/remarkably.rb', line 58
def method_missing(sym, *args, &block)
@remarkably_engine ||= Config.default_engine.new
@remarkably_engine.send( :missing_method, sym, self, *args, &block )
end
|
Instance Method Details
67
68
69
|
# File 'lib/remarkably.rb', line 67
def
@remarkably_engine
end
|
63
64
65
|
# File 'lib/remarkably.rb', line 63
def engine
@remarkably_engine = engine
end
|