Class: SecID::Match
- Inherits:
-
Data
- Object
- Data
- SecID::Match
- Defined in:
- lib/sec_id/scanner.rb
Overview
Immutable value object representing a matched identifier found in text.
Instance Attribute Summary collapse
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
-
#range ⇒ Object
readonly
Returns the value of attribute range.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier
5 6 7 |
# File 'lib/sec_id/scanner.rb', line 5 def identifier @identifier end |
#range ⇒ Object (readonly)
Returns the value of attribute range
5 6 7 |
# File 'lib/sec_id/scanner.rb', line 5 def range @range end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw
5 6 7 |
# File 'lib/sec_id/scanner.rb', line 5 def raw @raw end |
#type ⇒ Object (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/sec_id/scanner.rb', line 5 def type @type end |