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