Class: EySecrets::Environment
- Inherits:
-
Struct
- Object
- Struct
- EySecrets::Environment
- Defined in:
- lib/ey_secrets/models/environment.rb
Instance Attribute Summary collapse
-
#instances ⇒ Object
Returns the value of attribute instances.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Environment
constructor
A new instance of Environment.
Constructor Details
#initialize ⇒ Environment
Returns a new instance of Environment.
3 4 5 6 7 8 |
# File 'lib/ey_secrets/models/environment.rb', line 3 def initialize(*) super instances.each do |instance| instance.environment = self end end |
Instance Attribute Details
#instances ⇒ Object
Returns the value of attribute instances
2 3 4 |
# File 'lib/ey_secrets/models/environment.rb', line 2 def instances @instances end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/ey_secrets/models/environment.rb', line 2 def name @name end |