Method: Lines#initialize

Defined in:
lib/glark/output/lines.rb

#initialize(file, spec) ⇒ Lines

Returns a new instance of Lines.



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/glark/output/lines.rb', line 12

def initialize file, spec
  super

  @print_context = false
  
  context = spec.context
  @after = context && context.after
  @before = context && context.before

  @stati = Glark::LineStatus.new
end