class RequestLogAnalyzer::LineDefinition::CaptureDefiner
Attributes
capture_hash[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/request_log_analyzer/line_definition.rb 33 def initialize(hash) 34 @capture_hash = hash 35 end
Public Instance Methods
as(type, type_options = {})
click to toggle source
# File lib/request_log_analyzer/line_definition.rb 37 def as(type, type_options = {}) 38 @capture_hash.merge!(type_options.merge(type: type)) 39 self 40 end