Module: ProcExtensions::Source
- Defined in:
- lib/core_extensions/proc/source.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/core_extensions/proc/source.rb', line 3 def self.included(base) base.class_eval do # rubocop:disable Lint/NestedMethodDefinition def source ProcSource.new(self).source end def raw_source ProcSource.new(self).raw_source end end end |