Method: Lore::Clause_Parser#method_missing

Defined in:
lib/lore/clause.rb

#method_missing(absolute_field_name) ⇒ Object



583
584
585
586
587
588
589
590
591
592
# File 'lib/lore/clause.rb', line 583

def method_missing(absolute_field_name)
  if absolute_field_name.instance_of? Clause then
    field_name = absolute_field_name.field_name.to_s
  else 
    field_name = absolute_field_name.to_s
  end
  
# return Clause.new("#{@base_table}.#{field_name}")
  return Clause.new(field_name)
end