Class: CCEngine::Location::LineRange

Inherits:
Object
  • Object
show all
Defined in:
lib/cc_engine/location/line_range.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



11
12
13
14
15
16
17
18
19
# File 'lib/cc_engine/location/line_range.rb', line 11

def to_hash
  {
    path: path,
    lines: {
      begin: line_range.begin,
      end: line_range.end
    }
  }
end