diff options
author | John Mair <jrmair@gmail.com> | 2010-12-18 19:43:58 +1300 |
---|---|---|
committer | John Mair <jrmair@gmail.com> | 2010-12-18 19:43:58 +1300 |
commit | 0a790101fecb2738a2944f693f033ead82b812bd (patch) | |
tree | 5dd69064063f1ccfdd92cc84451bbdbcec1ff8fd | |
parent | e61e36e4f937b18e258fe0f8f2733528d132cc5c (diff) | |
download | method_source-0a790101fecb2738a2944f693f033ead82b812bd.tar.gz |
fixed docs ready for 0.2.0 gem releasev0.2.0
-rw-r--r-- | README.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown index 820be23..bc42a82 100644 --- a/README.markdown +++ b/README.markdown @@ -5,8 +5,8 @@ method_source _retrieve the sourcecode for a method_ -*NOTE:* This is nothing fancy; it simply utilizes `Method#source_location` -in Ruby 1.9 +*NOTE:* This simply utilizes `Method#source_location` in Ruby 1.9; it + does not access the live AST. `method_source` is a utility to return a method's sourcecode as a Ruby string. Also returns `Proc` and `Lambda` sourcecode. @@ -43,7 +43,7 @@ Example: display method comments Set.instance_method(:merge).comment.display # => # Merges the elements of the given enumerable object to the set and - # returns self.=> nil + # returns self. Limitations: ------------ |