Class: MapReader::MapSpecialExit
- Inherits:
-
Object
- Object
- MapReader::MapSpecialExit
- Defined in:
- lib/IFMapper/MapReader.rb
Instance Attribute Summary collapse
-
#go ⇒ Object
readonly
Returns the value of attribute go.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(go, to) ⇒ MapSpecialExit
constructor
A new instance of MapSpecialExit.
- #to_s ⇒ Object
Constructor Details
#initialize(go, to) ⇒ MapSpecialExit
Returns a new instance of MapSpecialExit.
121 122 123 124 |
# File 'lib/IFMapper/MapReader.rb', line 121 def initialize(go, to) @go = go @to = to end |
Instance Attribute Details
#go ⇒ Object (readonly)
Returns the value of attribute go.
119 120 121 |
# File 'lib/IFMapper/MapReader.rb', line 119 def go @go end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
120 121 122 |
# File 'lib/IFMapper/MapReader.rb', line 120 def to @to end |
Instance Method Details
#to_s ⇒ Object
125 126 127 |
# File 'lib/IFMapper/MapReader.rb', line 125 def to_s "SPECIAL: #{go} #{to}" end |