Class: Explorer

Inherits:
Object
  • Object
show all
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)

Direct Known Subclasses

Entity, Relation

Instance Attribute Summary collapse

Instance Attribute Details

#resolve_strategy=(value) ⇒ Object (writeonly)

Sets the attribute resolve_strategy

Parameters:

  • value

    the value to set the attribute resolve_strategy to.



14
15
16
# File 'lib/exploration/explorer.rb', line 14

def resolve_strategy=(value)
  @resolve_strategy = value
end