Class: Vcert::CertField
- Inherits:
-
Object
- Object
- Vcert::CertField
- Defined in:
- lib/objects/objects.rb
Instance Attribute Summary collapse
-
#locked ⇒ Object
readonly
Returns the value of attribute locked.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, locked: false) ⇒ CertField
constructor
A new instance of CertField.
Constructor Details
#initialize(value, locked: false) ⇒ CertField
Returns a new instance of CertField.
325 326 327 328 |
# File 'lib/objects/objects.rb', line 325 def initialize(value, locked: false) @value = value @locked = locked end |
Instance Attribute Details
#locked ⇒ Object (readonly)
Returns the value of attribute locked.
323 324 325 |
# File 'lib/objects/objects.rb', line 323 def locked @locked end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
323 324 325 |
# File 'lib/objects/objects.rb', line 323 def value @value end |