Class: SlowBlink::Type
- Inherits:
-
Object
- Object
- SlowBlink::Type
- Defined in:
- lib/slow_blink/type.rb
Direct Known Subclasses
BOOLEAN, DATE, DECIMAL, ENUM, INTEGER, MILLI_TIME, NANO_TIME, OBJECT, REF, STRING, StaticGroup, TIME_OF_DAY_MILLI, TIME_OF_DAY_NANO
Instance Attribute Summary collapse
-
#location ⇒ String
readonly
Location string formatted as: [ FILENAME, ':' ], LINE_NUMBER, ':', COLUMN_NUMBER.
Class Method Summary collapse
Instance Method Summary collapse
-
#sequence? ⇒ true
This type is sequence (repeating) type.
Instance Attribute Details
#location ⇒ String (readonly)
Location string formatted as: [ FILENAME, ':' ], LINE_NUMBER, ':', COLUMN_NUMBER
28 29 30 |
# File 'lib/slow_blink/type.rb', line 28 def location @location end |
Class Method Details
.===(other) ⇒ Object
35 36 37 |
# File 'lib/slow_blink/type.rb', line 35 def self.===(other) self == other end |
Instance Method Details
#sequence? ⇒ true
Returns this type is sequence (repeating) type.
31 32 33 |
# File 'lib/slow_blink/type.rb', line 31 def sequence? @sequence end |