Class: Xbrlware::Linkbase::PresentationLinkbase::Presentation

Inherits:
Object
  • Object
show all
Defined in:
lib/xbrlware-extras/linkbase.rb

Defined Under Namespace

Classes: PresentationArc

Instance Method Summary collapse

Instance Method Details



129
130
131
132
133
134
135
136
# File 'lib/xbrlware-extras/linkbase.rb', line 129

def print_tree(indent_count=0)
  indent = " " * indent_count
  puts indent + "Pres: #{@title} (#{@role})"

  @arcs.each { |arc| arc.print_tree(indent_count+1) }

  puts indent + "\n\n"
end