Memorandums, Logbook & Shares
Friday, August 10, 2012
Ruby - Check where does a method defined
Use the "method" call. e.g. some_object.method(:some_method)
or
check its source location:
some_object.method(:some_method).source_location
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.