Module: Wharel::QueryMethods

Defined in:
lib/wharel.rb

Defined Under Namespace

Modules: WhereChain

Instance Method Summary collapse

Instance Method Details

#where(opts = :chain, *rest, &block) ⇒ Object



6
7
8
# File 'lib/wharel.rb', line 6

def where(opts = :chain, *rest, &block)
  block_given? ? super(VirtualRow.build_query(self, &block)) : super
end