Module: YARD::DM::Extensions
- Included in:
- BelongsToHandler, HasHandler, PropertyHandler
- Defined in:
- lib/yard-dm/extensions.rb
Instance Method Summary collapse
- #effected_namespace ⇒ Object protected
Instance Method Details
#effected_namespace ⇒ Object (protected)
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/yard-dm/extensions.rb', line 7 def effected_namespace if statement.type == :command_call context = statement.jump(:var_ref) unless context.source == 'self' return ensure_loaded!( Registry.resolve(namespace,context.source) ) end end return namespace end |