Module: Scopie

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

Defined Under Namespace

Classes: Base, InvalidOptionError

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

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



9
10
11
# File 'lib/scopie.rb', line 9

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



13
14
15
# File 'lib/scopie.rb', line 13

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