Module: Draper::LazyHelpers
- Defined in:
- lib/draper/lazy_helpers.rb
Instance Method Summary (collapse)
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
- (Object) method_missing(method_name, *args, &block)
3 4 5 6 7 8 9 |
# File 'lib/draper/lazy_helpers.rb', line 3 def method_missing(method_name, *args, &block) begin helpers.send method_name, *args, &block rescue NoMethodError super end end |