Class: VendorsDecorator

Inherits:
BaseDecorator
  • Object
show all
Defined in:
app/decorators/vendors_decorator.rb

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object (protected)

simply send it all over to the model



11
12
13
# File 'app/decorators/vendors_decorator.rb', line 11

def method_missing(*args)
  model.send(*args)
end