Class: SettingName
- Inherits:
-
Object
- Object
- SettingName
- Defined in:
- lib/rsettings/core/setting_name.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name) ⇒ SettingName
constructor
A new instance of SettingName.
Constructor Details
#initialize(name) ⇒ SettingName
Returns a new instance of SettingName.
4 5 6 |
# File 'lib/rsettings/core/setting_name.rb', line 4 def initialize(name) @value = name end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
2 3 4 |
# File 'lib/rsettings/core/setting_name.rb', line 2 def value @value end |