Class: OSPFv2::Neighbor::Trace
Instance Method Summary collapse
-
#initialize(io = $stdout) ⇒ Trace
constructor
A new instance of Trace.
- #trace(s) ⇒ Object
Constructor Details
#initialize(io = $stdout) ⇒ Trace
Returns a new instance of Trace.
42 43 44 |
# File 'lib/neighbor/neighbor.rb', line 42 def initialize(io=$stdout) @logger = Logger.new(io) end |
Instance Method Details
#trace(s) ⇒ Object
45 46 47 |
# File 'lib/neighbor/neighbor.rb', line 45 def trace(s) @logger << s end |