Class: Seafoam::Commands::BGVDebugParser

Inherits:
BGV::BGVParser show all
Defined in:
lib/seafoam/commands.rb

Overview

A subclass of BGVParser which prints when pool entries are added.

Instance Method Summary collapse

Methods inherited from BGV::BGVParser

#graph_name, #read_document_props, #read_file_header, #read_graph, #read_graph_header, #read_graph_preheader, #skip_document_props, #skip_graph, #skip_graph_header

Constructor Details

#initialize(out, *args) ⇒ BGVDebugParser

Returns a new instance of BGVDebugParser.



601
602
603
604
# File 'lib/seafoam/commands.rb', line 601

def initialize(out, *args)
  super(*args)
  @out = out
end

Instance Method Details

#set_pool_entry(id, object) ⇒ Object



606
607
608
609
# File 'lib/seafoam/commands.rb', line 606

def set_pool_entry(id, object)
  @out.puts "pool #{id} = #{object}"
  super
end