How to check where a method is defined, in ruby

You can use this pattern/idea:

CSV.new('string').method(:flock).source_location

 

ruby waitress

Please log in to post comments:  
Login with Google