Sha256: 1db49278bb8970c1e9ea0b0debccc59e1d6c15abdd3d0af85b5c6c339f2d8681

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

module Casting
  module MethodConsolidator
    def methods(all = true)
      (super + delegated_methods(all)).uniq
    end

    def public_methods(include_super = true)
      (super + delegated_public_methods(include_super)).uniq
    end

    def protected_methods(include_super = true)
      (super + delegated_protected_methods(include_super)).uniq
    end

    def private_methods(include_super = true)
      (super + delegated_private_methods(include_super)).uniq
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
casting-1.0.2 lib/casting/method_consolidator.rb