Class: Minilex::Rule

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

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



4
5
6
# File 'lib/minilex.rb', line 4

def id
  @id
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



4
5
6
# File 'lib/minilex.rb', line 4

def pattern
  @pattern
end

#processorObject

Returns the value of attribute processor

Returns:

  • (Object)

    the current value of processor



4
5
6
# File 'lib/minilex.rb', line 4

def processor
  @processor
end

#skipObject

Returns the value of attribute skip

Returns:

  • (Object)

    the current value of skip



4
5
6
# File 'lib/minilex.rb', line 4

def skip
  @skip
end