Class: ParamsReady::Helpers::ArelBuilder::ArelObject

Inherits:
Object
  • Object
show all
Defined in:
lib/params_ready/helpers/arel_builder.rb

Instance Method Summary collapse

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_arelObject



31
32
33
# File 'lib/params_ready/helpers/arel_builder.rb', line 31

def to_arel(*)
  @node
end