class ApacheCrunch::Format

Represents a particular Apache log format

Attributes

tokens[RW]

Public Class Methods

new() click to toggle source
# File lib/format.rb, line 8
def initialize
    @tokens = []
end

Public Instance Methods

captured_tokens() click to toggle source
# File lib/format.rb, line 12
def captured_tokens
    @tokens.find_all do |tok|
        tok.captured?
    end
end