Method: MethodExtensions::MethodSourceWithDoc::MethodSourceRipper#method_source
- Defined in:
- lib/method_extensions/method/source_with_doc.rb
#method_source ⇒ Object
204 205 206 207 208 209 210 211 212 |
# File 'lib/method_extensions/method/source_with_doc.rb', line 204 def method_source parse if @method_source @method_source else raise ArgumentError.new("failed to find method definition around the lines:\n" << definition_lines.join("\n")) end end |