Method: Fast::Node#lines_of_code

Defined in:
lib/fast/git.rb

#lines_of_codeInteger

Returns lines of code from current block.

Returns:

  • (Integer)

    lines of code from current block



76
77
78
# File 'lib/fast/git.rb', line 76

def lines_of_code
  lines.last - lines.first + 1
end