Module: Eco::Language::Methods::CallDetector
- Included in:
- API::UseCases::GraphQL::Base
- Defined in:
- lib/eco/language/methods/call_detector.rb
Instance Method Summary collapse
Instance Method Details
#called_via?(klass, sym) ⇒ Boolean
5 6 7 |
# File 'lib/eco/language/methods/call_detector.rb', line 5 def called_via?(klass, sym) klass == method(sym).owner end |