Sha256: c70a0abda62001b895fe49ad67b813e0380e4306eb8924d9e52cc4a8a22ebeea

Contents?: true

Size: 198 Bytes

Versions: 40

Compression:

Stored size: 198 Bytes

Contents

module Eco
  module Language
    module Methods
      module CallDetector
        def called_via?(klass, sym)
          klass == method(sym).owner
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
eco-helpers-3.0.21 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.20 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.19 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.18 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.17 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.16 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.15 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.14 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.13 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.12 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.11 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.10 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.9 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.8 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.7 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.6 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.5 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.4 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.3 lib/eco/language/methods/call_detector.rb
eco-helpers-3.0.2 lib/eco/language/methods/call_detector.rb