Class: ApacheCrunch::FormatTokenDefinition

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

Overview

Defines the properties of a known Apache log format token (like %q or %h)

Class Attribute Summary collapse

Class Attribute Details

.abbrevObject

Returns the value of attribute abbrev.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def abbrev
  @abbrev
end

.capturedObject

Returns the value of attribute captured.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def captured
  @captured
end

.casterObject

Returns the value of attribute caster.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def caster
  @caster
end

.derivation_ruleObject

Returns the value of attribute derivation_rule.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def derivation_rule
  @derivation_rule
end

.nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def name
  @name
end

.regexObject

Returns the value of attribute regex.



7
8
9
# File 'lib/format_token_definition.rb', line 7

def regex
  @regex
end