Sha256: 496cac269bf9953e3c9372eacb2b38256eaad249300add0a6eebca66bf4d5d2b
Contents?: true
Size: 407 Bytes
Versions: 43
Compression:
Stored size: 407 Bytes
Contents
class Pry module ExtendedCommands Experimental = Pry::CommandSet.new do command "reload-method", "Reload the source specifically for a method", :requires_gem => "method_reload" do |meth_name| if (meth = get_method_object(meth_name, target, {})).nil? output.puts "Invalid method name: #{meth_name}." next end meth.reload end end end end
Version data entries
43 entries across 43 versions & 1 rubygems