Module: OSPFv2::TO_S

Included in:
LSDB::LinkStateDatabase, Lsa, Lsa_Base
Defined in:
lib/infra/to_s.rb

Instance Method Summary collapse

Instance Method Details

#to_s(*args) ⇒ Object



26
27
28
29
30
31
32
33
34
# File 'lib/infra/to_s.rb', line 26

def to_s(*args)
  return to_s_default(*args) unless defined?($style)
  case $style
  when :junos ; to_s_junos(*args)
  when :junos_verbose ; to_s_junos_verbose(*args)
  else
    to_s_default(*args)
  end
end