Class: Field
- Inherits:
-
Object
- Object
- Field
- Defined in:
- lib/ruby-common/v4/Signature4VerifierService.rb
Overview
Helper class to represent field information
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(name, type) ⇒ Field
Returns a new instance of Field.
19 20 21 22 |
# File 'lib/ruby-common/v4/Signature4VerifierService.rb', line 19 def initialize(name, type) @name = name @type = type end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
17 18 19 |
# File 'lib/ruby-common/v4/Signature4VerifierService.rb', line 17 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
17 18 19 |
# File 'lib/ruby-common/v4/Signature4VerifierService.rb', line 17 def type @type end |