banister / method_source

return the sourcecode for a method
MIT License
361 stars 43 forks source link

ensure that if the owner is an immediate (and cant be instantiated) then call source_location explicitly on an immediate #3

Closed banister closed 13 years ago

banister commented 13 years ago

e.g

if meth.owner == Symbol then :test.method(meth).source_location