Class: Ea::Ocl::Nodes::CollectionForAll

Inherits:
Struct
  • Object
show all
Defined in:
lib/ea/ocl/nodes.rb

Overview

<collection>->forAll(var | <pred>) — true if all match.

Instance Attribute Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection

Returns:

  • (Object)

    the current value of collection



19
20
21
# File 'lib/ea/ocl/nodes.rb', line 19

def collection
  @collection
end

#predicateObject

Returns the value of attribute predicate

Returns:

  • (Object)

    the current value of predicate



19
20
21
# File 'lib/ea/ocl/nodes.rb', line 19

def predicate
  @predicate
end

#varObject

Returns the value of attribute var

Returns:

  • (Object)

    the current value of var



19
20
21
# File 'lib/ea/ocl/nodes.rb', line 19

def var
  @var
end