Class: MapReader::MapSpecialExit

Inherits:
Object
  • Object
show all
Defined in:
lib/IFMapper/MapReader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#goObject (readonly)

Returns the value of attribute go.



119
120
121
# File 'lib/IFMapper/MapReader.rb', line 119

def go
  @go
end

#toObject (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_sObject



125
126
127
# File 'lib/IFMapper/MapReader.rb', line 125

def to_s
  "SPECIAL: #{go} #{to}"
end