Method: Saki::GeneralHelpers::ClassMethods#where

Defined in:
lib/saki.rb

#where(executable, *opts, &block) ⇒ Object



125
126
127
128
129
130
# File 'lib/saki.rb', line 125

def where(executable, *opts, &block)
  context "anonymous closure" do
    before { instance_eval &executable }
    module_eval &block
  end
end