Class: Reflexive::VariablesScope
- Inherits:
-
Hash
- Object
- Hash
- Reflexive::VariablesScope
- Defined in:
- lib/reflexive/variables_scope.rb
Constant Summary collapse
- @@guid =
0
Instance Attribute Summary collapse
-
#guid ⇒ Object
readonly
Returns the value of attribute guid.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ VariablesScope
constructor
A new instance of VariablesScope.
Constructor Details
#initialize ⇒ VariablesScope
Returns a new instance of VariablesScope.
11 12 13 14 |
# File 'lib/reflexive/variables_scope.rb', line 11 def initialize super @guid = (@@guid += 1) end |
Instance Attribute Details
#guid ⇒ Object (readonly)
Returns the value of attribute guid.
9 10 11 |
# File 'lib/reflexive/variables_scope.rb', line 9 def guid @guid end |
Class Method Details
.reset_guid ⇒ Object
5 6 7 |
# File 'lib/reflexive/variables_scope.rb', line 5 def self.reset_guid @@guid = 0 end |