Class: Anima::ConfigMigrator::Addition
- Inherits:
-
Data
- Object
- Data
- Anima::ConfigMigrator::Addition
- Defined in:
- lib/anima/config_migrator.rb
Overview
A single config key that was added during migration.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#key [String] key name within the section([String]) ⇒ Object
readonly
A single config key that was added during migration.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#section [String] TOML section name([String]) ⇒ Object
readonly
A single config key that was added during migration.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#value [Object] default value from the template([Object]) ⇒ Object
readonly
A single config key that was added during migration.
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key
27 28 29 |
# File 'lib/anima/config_migrator.rb', line 27 def key @key end |
#key [String] key name within the section([String]) ⇒ Object (readonly)
A single config key that was added during migration.
27 |
# File 'lib/anima/config_migrator.rb', line 27 Addition = Data.define(:section, :key, :value) |
#section ⇒ Object (readonly)
Returns the value of attribute section
27 28 29 |
# File 'lib/anima/config_migrator.rb', line 27 def section @section end |
#section [String] TOML section name([String]) ⇒ Object (readonly)
A single config key that was added during migration.
27 |
# File 'lib/anima/config_migrator.rb', line 27 Addition = Data.define(:section, :key, :value) |
#value ⇒ Object (readonly)
Returns the value of attribute value
27 28 29 |
# File 'lib/anima/config_migrator.rb', line 27 def value @value end |
#value [Object] default value from the template([Object]) ⇒ Object (readonly)
A single config key that was added during migration.
27 |
# File 'lib/anima/config_migrator.rb', line 27 Addition = Data.define(:section, :key, :value) |