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
50
51
52
53
|
# File 'lib/remarkably.rb', line 50
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
59
60
61
|
# File 'lib/remarkably.rb', line 59
def
@remarkably_engine
end
|
55
56
57
|
# File 'lib/remarkably.rb', line 55
def engine
@remarkably_engine = engine
end
|