Sha256: 262e5b7ced1c883907906108722b31fc8d00a6d499365c1053e8978a290244a7

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

module ProcExtensions
  module Source
    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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
proc_extensions-0.2 lib/core_extensions/proc/source.rb
proc_extensions-0.1.2 lib/core_extensions/proc/source.rb
proc_extensions-0.1.0 lib/core_extensions/proc/source.rb