summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mair <jrmair@gmail.com>2010-12-17 04:44:05 +1300
committerJohn Mair <jrmair@gmail.com>2010-12-17 04:44:05 +1300
commitc368da981dd9f8f6a657348ad03bd0f5918a7109 (patch)
treedcc7f9a6c60e6bb7cce6fe0dd4496ade3a4ab054
parent9c0afdcf3f57e224b33f587804c307aa891a0d7f (diff)
downloadmethod_source-c368da981dd9f8f6a657348ad03bd0f5918a7109.tar.gz
doc update
-rw-r--r--README.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 7a389f9..c78739f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -5,6 +5,9 @@ method_source
_retrieve the sourcecode for a method_
+*NOTE:* This is nothing fancy; it simply utilizes `Method#source_location`
+in Ruby 1.9
+
`method_source` is a utility to return a method's sourcecode as a
Ruby string. Also returns `Proc` and `Lambda` sourcecode.