Permalink
Browse files

Fixes a couple of typos and spacing

  • Loading branch information...
1 parent abe4b04 commit 32b02260b1398d53728809427d6f051bc08f9999 @miketheman miketheman committed Jul 17, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 lib/graphviz.rb
  2. +1 −1 lib/graphviz/attrs.rb
  3. +2 −2 lib/graphviz/constants.rb
View
2 lib/graphviz.rb
@@ -755,7 +755,7 @@ def self.default( hOpts )
when "extlibs"
@@extlibs = v.split( "," ).map{ |x| x.strip }
else
- warn "Invalide option #{k}!"
+ warn "Invalid option #{k}!"
end
end
end
View
2 lib/graphviz/attrs.rb
@@ -61,7 +61,7 @@ def []=( key, value )
begin
value = GraphViz::Types.const_get(@attributes[key.to_s]).new( value )
rescue => e
- raise AttributeException, "Invalide value `#{value}` for attribute `#{key}` : #{e}"
+ raise AttributeException, "Invalid value `#{value}` for attribute `#{key}` : #{e}"
end
if value
View
4 lib/graphviz/constants.rb
@@ -103,8 +103,8 @@ module Constants
## Const: graphs type
GRAPHTYPE = [
"digraph",
- "graph",
- "strict digraph"
+ "graph",
+ "strict digraph"
]
def self.getAttrsFor( x )

0 comments on commit 32b0226

Please sign in to comment.