Method: MethodSource::MethodExtensions#source
- Defined in:
- lib/method_source.rb
#source ⇒ String
Return the sourcecode for the method as a string
114 115 116 |
# File 'lib/method_source.rb', line 114 def source MethodSource.source_helper(source_location, defined?(name) ? name : inspect) end |