Module: Scopie
- Defined in:
- lib/scopie.rb,
lib/scopie/version.rb
Defined Under Namespace
Classes: Base, InvalidOptionError, Value
Constant Summary
collapse
- VERSION =
'1.0.1'
Class Method Summary
collapse
Class Method Details
.apply_scopes(target, hash, method: nil, scopie: Scopie::Base.new) ⇒ Object
10
11
12
|
# File 'lib/scopie.rb', line 10
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
14
15
16
|
# File 'lib/scopie.rb', line 14
def self.current_scopes(hash, method: nil, scopie: Scopie::Base.new)
scopie.current_scopes(hash, method)
end
|