Sha256: 31318c163442820fedcb2f3bf987cd16f13b3de09ddf0239fa13b5a724e20d72
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
module CCEngine module Location class LineRange def initialize(path:, line_range:) @path = path @line_range = line_range end def to_hash { path: path, lines: { begin: line_range.begin, end: line_range.end } } end private attr_reader :path, :line_range end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-engine-rb-0.4.2 | lib/cc_engine/location/line_range.rb |