Class: Seafoam::Commands::BGVDebugParser
- Inherits:
-
BGV::BGVParser
- Object
- BGV::BGVParser
- Seafoam::Commands::BGVDebugParser
- Defined in:
- lib/seafoam/commands.rb
Overview
A subclass of BGVParser which prints when pool entries are added.
Instance Method Summary collapse
-
#initialize(out, *args) ⇒ BGVDebugParser
constructor
A new instance of BGVDebugParser.
- #set_pool_entry(id, object) ⇒ Object
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.
578 579 580 581 |
# File 'lib/seafoam/commands.rb', line 578 def initialize(out, *args) super(*args) @out = out end |
Instance Method Details
#set_pool_entry(id, object) ⇒ Object
583 584 585 586 |
# File 'lib/seafoam/commands.rb', line 583 def set_pool_entry(id, object) @out.puts "pool #{id} = #{object}" super end |