class ApacheCrunch::PredefinedToken

A predefined token like %q or %r from the Apache log.

Public Instance Methods

captured?() click to toggle source
# File lib/format_token.rb, line 25
def captured?; @token_definition.captured; end
derivation_rule() click to toggle source
# File lib/format_token.rb, line 26
def derivation_rule; @token_definition.derivation_rule; end
name() click to toggle source
# File lib/format_token.rb, line 23
def name; @token_definition.name; end
populate!(token_definition) click to toggle source
# File lib/format_token.rb, line 19
def populate!(token_definition)
    @token_definition = token_definition
end
regex() click to toggle source
# File lib/format_token.rb, line 24
def regex; @token_definition.regex; end