Class: Guise::Scope Private
- Inherits:
-
Object
- Object
- Guise::Scope
- Defined in:
- lib/guise/scopes.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(value, options) ⇒ Scope
constructor
private
A new instance of Scope.
Constructor Details
#initialize(value, options) ⇒ Scope
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Scope.
4 5 6 7 8 9 |
# File 'lib/guise/scopes.rb', line 4 def initialize(value, ) @value = value @options = @options.register_scope(@value, self) end |