Module: Boson::MethodInspector::Libraries
- Included in:
- Boson::MethodInspector
- Defined in:
- lib/boson/libraries.rb
Instance Method Summary collapse
Instance Method Details
#find_class_method_locations(klass, meth) ⇒ Object
161 162 163 164 165 166 |
# File 'lib/boson/libraries.rb', line 161 def find_class_method_locations(klass, meth) if (klass = Util.any_const_get(klass)) && (meth_location = klass.method(meth).source_location) && meth_location[0] meth_location end end |