module PryLessSource
Constants
- VERSION
Public Instance Methods
options(opt)
click to toggle source
If this method is none, error occur!
# File lib/pry-less-source.rb, line 23 def options(opt) method_options(opt) end
process()
click to toggle source
# File lib/pry-less-source.rb, line 27 def process meth = method_object ENV["METH_FILE_PATH"] = meth.source_location[0] ENV["METH_LINE_NUM"] = meth.source_location[1].to_s system('less +$METH_LINE_NUM -N $METH_FILE_PATH') end