Class: Reflexive::VariablesScope

Inherits:
Hash
  • Object
show all
Defined in:
lib/reflexive/variables_scope.rb

Constant Summary collapse

@@guid =
0

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVariablesScope

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

#guidObject (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_guidObject



5
6
7
# File 'lib/reflexive/variables_scope.rb', line 5

def self.reset_guid
  @@guid = 0
end