Class: Core::Tools::AbstractMap
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#left ⇒ Object
Returns the value of attribute left.
-
#lower ⇒ Object
Returns the value of attribute lower.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#right ⇒ Object
Returns the value of attribute right.
-
#upper ⇒ Object
Returns the value of attribute upper.
Instance Method Summary collapse
-
#initialize(name, file) ⇒ AbstractMap
constructor
A new instance of AbstractMap.
Constructor Details
#initialize(name, file) ⇒ AbstractMap
Returns a new instance of AbstractMap.
15 16 17 18 19 |
# File 'lib/tools/worldmap_editor.rb', line 15 def initialize(name, file) @name = name @file = file @lower = @upper = @right = @left = nil end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
14 15 16 |
# File 'lib/tools/worldmap_editor.rb', line 14 def file @file end |
#left ⇒ Object
Returns the value of attribute left.
13 14 15 |
# File 'lib/tools/worldmap_editor.rb', line 13 def left @left end |
#lower ⇒ Object
Returns the value of attribute lower.
13 14 15 |
# File 'lib/tools/worldmap_editor.rb', line 13 def lower @lower end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
14 15 16 |
# File 'lib/tools/worldmap_editor.rb', line 14 def name @name end |
#right ⇒ Object
Returns the value of attribute right.
13 14 15 |
# File 'lib/tools/worldmap_editor.rb', line 13 def right @right end |
#upper ⇒ Object
Returns the value of attribute upper.
13 14 15 |
# File 'lib/tools/worldmap_editor.rb', line 13 def upper @upper end |