Class: Rafflesia::IdentifierNormalizationTransform
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::IdentifierNormalizationTransform
- Defined in:
- lib/rafflesia/database_join_normalization_measurements/identifier_normalization_transform.rb
Constant Summary collapse
- HASH_ATTRS =
{ kind: :kind, length: :length, start: :start }.freeze
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#length ⇒ Object
Returns the value of attribute length.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize(json) ⇒ IdentifierNormalizationTransform
constructor
A new instance of IdentifierNormalizationTransform.
Constructor Details
#initialize(json) ⇒ IdentifierNormalizationTransform
Returns a new instance of IdentifierNormalizationTransform.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_transform.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @kind = hash[:kind] @length = hash[:length] @start = hash[:start] end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
14 15 16 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_transform.rb', line 14 def kind @kind end |
#length ⇒ Object
Returns the value of attribute length.
14 15 16 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_transform.rb', line 14 def length @length end |
#start ⇒ Object
Returns the value of attribute start.
14 15 16 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_transform.rb', line 14 def start @start end |