Class: Rule

Inherits:
Struct
  • Object
show all
Defined in:
lib/cuco/cuco.rb

Instance Attribute Summary collapse

Instance Attribute Details

#event_typeObject

Returns the value of attribute event_type

Returns:

  • the current value of event_type



1
2
3
# File 'lib/cuco/cuco.rb', line 1

def event_type
  @event_type
end

#patternObject

Returns the value of attribute pattern

Returns:

  • the current value of pattern



1
2
3
# File 'lib/cuco/cuco.rb', line 1

def pattern
  @pattern
end

#procObject

Returns the value of attribute proc

Returns:

  • the current value of proc



1
2
3
# File 'lib/cuco/cuco.rb', line 1

def proc
  @proc
end