Class: CCEngine::Location::Position
- Inherits:
-
Object
- Object
- CCEngine::Location::Position
- Defined in:
- lib/cc_engine/location/position.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/cc_engine/location/position.rb', line 12 def to_hash { path: path, positions: { begin: start_position.to_hash, end: end_position.to_hash } } end |