Class: ActiveFacts::Metamodel::Play

Inherits:
Object
  • Object
show all
Defined in:
lib/activefacts/vocabulary/metamodel.rb,
lib/activefacts/vocabulary/extensions.rb

Instance Method Summary collapse

Instance Method Details

#all_stepObject



770
771
772
773
774
# File 'lib/activefacts/vocabulary/extensions.rb', line 770

def all_step
  (all_step_as_input_play.to_a +
    all_step_as_output_play.to_a +
    [step]).flatten.compact.uniq
end

#describeObject



765
766
767
768
# File 'lib/activefacts/vocabulary/extensions.rb', line 765

def describe
  "#{role.object_type.name} JN#{variable.ordinal}" +
    (role_ref ? " (projected)" : "")
end