Class: Qwester::Presentation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Qwester::Presentation
- Defined in:
- app/models/qwester/presentation.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args, &block) ⇒ Object (private)
51 52 53 54 55 56 57 |
# File 'app/models/qwester/presentation.rb', line 51 def method_missing(symbol, *args, &block) if symbol.to_sym == :position || acts_as_list_method?(symbol) pass_acts_as_list_method_to(presentation_questionnaires, symbol, args.first) else super end end |