Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #54 from miketheman/typos_and_spacing

Fixes a couple of typos and spacing
  • Loading branch information...
commit 376d150ae4cbc1eb8aa690b8e7a1bcd34389102c 2 parents 363bc9d + 32b0226
@glejeune authored
View
2  lib/graphviz.rb
@@ -712,7 +712,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 )
Please sign in to comment.
Something went wrong with that request. Please try again.