Module: Labimotion::ResearchPlan
- Defined in:
- lib/labimotion/models/research_plan.rb
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate class methods to ::ResearchPlan.
- .respond_to_missing?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate class methods to ::ResearchPlan
26 27 28 29 30 31 32 |
# File 'lib/labimotion/models/research_plan.rb', line 26 def self.method_missing(method, *args, &block) if ::ResearchPlan.respond_to?(method) ::ResearchPlan.public_send(method, *args, &block) else super end end |
.respond_to_missing?(method, include_private = false) ⇒ Boolean
34 35 36 |
# File 'lib/labimotion/models/research_plan.rb', line 34 def self.respond_to_missing?(method, include_private = false) ::ResearchPlan.respond_to?(method, include_private) || super end |