Method: Graph#shape

Defined in:
lib/graph.rb

#shape(shape) ⇒ Object

Shortcut method to create a new shape Attribute instance.



274
275
276
# File 'lib/graph.rb', line 274

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