Module: Scopie

Defined in:
lib/scopie.rb,
lib/scopie/version.rb

Defined Under Namespace

Classes: Base

Constant Summary collapse

VERSION =
'0.6.0'

Class Method Summary collapse

Class Method Details

.apply_scopes(target, hash, method: nil, scopie: Scopie::Base.new) ⇒ Object



7
8
9
# File 'lib/scopie.rb', line 7

def self.apply_scopes(target, hash, method: nil, scopie: Scopie::Base.new)
  scopie.apply_scopes(target, hash, method)
end

.current_scopes(hash, method: nil, scopie: Scopie::Base.new) ⇒ Object



11
12
13
# File 'lib/scopie.rb', line 11

def self.current_scopes(hash, method: nil, scopie: Scopie::Base.new)
  scopie.current_scopes(hash, method)
end