Method: Fast::Node#lines
- Defined in:
- lib/fast/git.rb
#lines ⇒ Array
Returns with lines range.
68 69 70 71 72 73 |
# File 'lib/fast/git.rb', line 68 def lines exp = loc.expression first_line = exp.first_line last_line = exp.last_line [first_line, last_line].uniq end |