Class: IISConfig::SensitiveValue
- Inherits:
-
Object
- Object
- IISConfig::SensitiveValue
- Defined in:
- lib/iisconfig/sensitive_value.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ SensitiveValue
constructor
A new instance of SensitiveValue.
- #to_s ⇒ Object
- #to_sym ⇒ Object
Constructor Details
#initialize(value) ⇒ SensitiveValue
Returns a new instance of SensitiveValue.
7 8 9 |
# File 'lib/iisconfig/sensitive_value.rb', line 7 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/iisconfig/sensitive_value.rb', line 5 def value @value end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/iisconfig/sensitive_value.rb', line 11 def to_s "[SENSITIVE]" end |
#to_sym ⇒ Object
15 16 17 |
# File 'lib/iisconfig/sensitive_value.rb', line 15 def to_sym @value.to_sym end |