Class: Explorer
- Inherits:
-
Object
- Object
- Explorer
- Defined in:
- lib/exploration/explorer.rb
Overview
Contract: All classes that inherit Explorer must implement each(sexp, context=nil, &block) which yields entities (classes, modules, etc.) and their relationships among each other.
Explorer#each
- arguments
-
sexp
an Sexp object -
context
a String representing the Entity that is calling each (default: nil)
-
- yields
-
name of entity
-
type of entity
-
relation (can be
nil
) -
name of entity receiving relation (can be
nil
) -
type of entity receiving relation (can be
nil
)
-
Instance Attribute Summary collapse
-
#resolve_strategy ⇒ Object
writeonly
Sets the attribute resolve_strategy.
Instance Attribute Details
#resolve_strategy=(value) ⇒ Object (writeonly)
Sets the attribute resolve_strategy
14 15 16 |
# File 'lib/exploration/explorer.rb', line 14 def resolve_strategy=(value) @resolve_strategy = value end |