Class: ParamsReady::Helpers::ArelBuilder::ArelObject
- Inherits:
-
Object
- Object
- ParamsReady::Helpers::ArelBuilder::ArelObject
- Defined in:
- lib/params_ready/helpers/arel_builder.rb
Instance Method Summary collapse
-
#initialize(node) ⇒ ArelObject
constructor
A new instance of ArelObject.
- #to_arel ⇒ Object
Constructor Details
#initialize(node) ⇒ ArelObject
Returns a new instance of ArelObject.
27 28 29 |
# File 'lib/params_ready/helpers/arel_builder.rb', line 27 def initialize(node) @node = node end |
Instance Method Details
#to_arel ⇒ Object
31 32 33 |
# File 'lib/params_ready/helpers/arel_builder.rb', line 31 def to_arel(*) @node end |