Class: ParamsReady::Helpers::ArelBuilder::Attribute::Callable

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

Instance Method Summary collapse

Methods inherited from Callable

#initialize, #to_arel

Constructor Details

This class inherits a constructor from ParamsReady::Helpers::ArelBuilder::Callable

Instance Method Details

#to_literal(string) ⇒ Object



67
68
69
# File 'lib/params_ready/helpers/arel_builder.rb', line 67

def to_literal(string)
  Helpers::ArelBuilder::Attribute.instance(string)
end