Method: Bio::Tree::Node#inspect
- Defined in:
- lib/bio/tree.rb
#inspect ⇒ Object
visualization of this object
172 173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/bio/tree.rb', line 172 def inspect if @name and !@name.empty? then str = "(Node:#{@name.inspect}" else str = sprintf('(Node:%x', (self.__id__ << 1) & 0xffffffff) end if defined?(@bootstrap) and @bootstrap then str += " bootstrap=#{@bootstrap.inspect}" end str += ")" str end |