Module: Rollerskates::QueryHelper
- Included in:
- QueryBuilder
- Defined in:
- lib/rollerskates/orm/helpers/query_helper.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *_args) ⇒ Object (private)
86 87 88 89 90 91 92 |
# File 'lib/rollerskates/orm/helpers/query_helper.rb', line 86 def method_missing(method, *_args) if block_given? data.each { |object| yield object } return true end data.send(method) end |