Class: HQMF2::AnyValue
- Inherits:
-
Object
- Object
- HQMF2::AnyValue
- Defined in:
- lib/hqmf-parser/2.0/types.rb
Overview
Used to represent ‘any value’ in criteria that require a value be present but don’t specify any restrictions on that value
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = 'ANYNonNull') ⇒ AnyValue
constructor
A new instance of AnyValue.
- #to_model ⇒ Object
Constructor Details
#initialize(type = 'ANYNonNull') ⇒ AnyValue
Returns a new instance of AnyValue.
7 8 9 |
# File 'lib/hqmf-parser/2.0/types.rb', line 7 def initialize(type='ANYNonNull') @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/hqmf-parser/2.0/types.rb', line 5 def type @type end |