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
- .apply_scopes(target, hash, method: nil, scopie: Scopie::Base.new) ⇒ Object
- .current_scopes(hash, method: nil, scopie: Scopie::Base.new) ⇒ Object
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 |