Method: Graph#color

Defined in:
lib/graph.rb

#color(color) ⇒ Object

Shortcut method to create a new color Attribute instance.



153
154
155
# File 'lib/graph.rb', line 153

def color color
  Attribute.new "color = #{color}"
end