Class: Druid::Having

Inherits:
Object
  • Object
show all
Defined in:
lib/druid/having.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



3
4
5
6
7
# File 'lib/druid/having.rb', line 3

def method_missing(name, *args)
  if args.empty?
    HavingClause.new(name)
  end
end