Class: SlowBlink::Definition
- Inherits:
-
Object
- Object
- SlowBlink::Definition
- Defined in:
- lib/slow_blink/definition.rb
Instance Attribute Summary collapse
- #id ⇒ Integer? readonly
-
#location ⇒ String
readonly
Location string formatted as: [ FILENAME, ':' ], LINE_NUMBER, ':', COLUMN_NUMBER.
- #name ⇒ String readonly
-
#type ⇒ Type
readonly
Defined type.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Integer? (readonly)
37 38 39 |
# File 'lib/slow_blink/definition.rb', line 37 def id @id end |
#location ⇒ String (readonly)
Location string formatted as: [ FILENAME, ':' ], LINE_NUMBER, ':', COLUMN_NUMBER
31 32 33 |
# File 'lib/slow_blink/definition.rb', line 31 def location @location end |
#name ⇒ String (readonly)
34 35 36 |
# File 'lib/slow_blink/definition.rb', line 34 def name @name end |
#type ⇒ Type (readonly)
Returns defined type.
28 29 30 |
# File 'lib/slow_blink/definition.rb', line 28 def type @type end |
Class Method Details
.===(other) ⇒ Object
39 40 41 |
# File 'lib/slow_blink/definition.rb', line 39 def self.===(other) self == other end |