Module: YPetri::Simulation::Transitions::Types

Defined in:
lib/y_petri/simulation/transitions/types.rb

Instance Method Summary collapse

Instance Method Details

#AObject

Subset of A type transitions, if any.



76
77
78
79
# File 'lib/y_petri/simulation/transitions/types.rb', line 76

def A
  ( @Type_A ||= Class.new self.class do include Type_A end )
    .load subset( &:A? )
end

#aObject

Subset of a type transitions, if any.



83
84
85
86
# File 'lib/y_petri/simulation/transitions/types.rb', line 83

def a
  ( @Type_a ||= Class.new self.class do include Type_a end )
    .load subset( &:a? )
end

#SObject

Subset of S type transitions, if any.



27
28
29
30
# File 'lib/y_petri/simulation/transitions/types.rb', line 27

def S
  ( @Type_S ||= Class.new self.class do include Type_S end )
    .load subset( &:S? )
end

#sObject

Subset of s type transitions, if any.



20
21
22
23
# File 'lib/y_petri/simulation/transitions/types.rb', line 20

def s
  ( @Type_s ||= Class.new self.class do include Type_s end )
    .load subset( &:s? )
end

#TObject

Subset of T type transitions, if any.



41
42
43
44
# File 'lib/y_petri/simulation/transitions/types.rb', line 41

def T
  ( @Type_T ||= Class.new self.class do include Type_T end )
    .load subset( &:T? )
end

#tObject

Subset of t type transitions, if any.



34
35
36
37
# File 'lib/y_petri/simulation/transitions/types.rb', line 34

def t
  ( @Type_t ||= Class.new self.class do include Type_t end )
    .load subset( &:t? )
end

#TsObject

Subset of Ts type transitions, if any.



62
63
64
65
# File 'lib/y_petri/simulation/transitions/types.rb', line 62

def Ts
  ( @Type_Ts ||= Class.new self.class do include Type_Ts end )
    .load subset( &:Ts? )
end

#tSObject

Subset of tS type transitions, if any.



55
56
57
58
# File 'lib/y_petri/simulation/transitions/types.rb', line 55

def tS
  ( @Type_tS ||= Class.new self.class do include Type_tS end )
    .load subset( &:tS? )
end

#TSObject

Subset of TS type transitions, if any.



69
70
71
72
# File 'lib/y_petri/simulation/transitions/types.rb', line 69

def TS
  ( @Type_TS ||= Class.new self.class do include Type_TS end )
    .load subset( &:TS? )
end

#tsObject

Subset of ts type transitions, if any.



48
49
50
51
# File 'lib/y_petri/simulation/transitions/types.rb', line 48

def ts
  ( @Type_ts ||= Class.new self.class do include Type_ts end )
    .load subset( &:ts? )
end