Class: MapReader::MapOneWay
- Inherits:
-
Object
- Object
- MapReader::MapOneWay
- Defined in:
- lib/IFMapper/MapReader.rb
Instance Attribute Summary collapse
-
#room ⇒ Object
readonly
Returns the value of attribute room.
Instance Method Summary collapse
-
#initialize(room) ⇒ MapOneWay
constructor
A new instance of MapOneWay.
- #to_s ⇒ Object
Constructor Details
#initialize(room) ⇒ MapOneWay
Returns a new instance of MapOneWay.
110 111 112 |
# File 'lib/IFMapper/MapReader.rb', line 110 def initialize(room) @room = room end |
Instance Attribute Details
#room ⇒ Object (readonly)
Returns the value of attribute room.
109 110 111 |
# File 'lib/IFMapper/MapReader.rb', line 109 def room @room end |
Instance Method Details
#to_s ⇒ Object
113 114 115 |
# File 'lib/IFMapper/MapReader.rb', line 113 def to_s "ONE WAY: #{room}" end |