module Abject::Reader
Private Instance Methods
parse_method(location)
click to toggle source
Save time copy & pasting old methods by doing it at run time! TODO: count block keywords for loops and conditionals
# File lib/abject/reader.rb, line 8 def parse_method(location) File.readlines(location[0])[location[1].to_i..-1].join.split("end\n").first end