Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
DOT::DOTElement
this is edge
# File rdoc/dot/dot.rb, line 237 def initialize( params = {}, option_list = EDGE_OPTS ) super( params, option_list ) @from = params['from'] ? params['from'] : nil @to = params['to'] ? params['to'] : nil end
# File rdoc/dot/dot.rb, line 243 def to_s( t = '' ) t + "#{@from} -> #{to} [\n" + @options.to_a.collect{ |i| i[1] && i[0] != 'label' ? t + $tab + "#{i[0]} = #{i[1]}" : i[1] ? t + $tab + "#{i[0]} = \"#{i[1]}\"" : nil }.compact.join( "\n" ) + "\n" + t + "]\n" end
This page was generated for Ruby 1.8.7
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.