Skip to content
This repository
Browse code

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
Gregoire Lejeune authored August 04, 2012
2  lib/graphviz.rb
@@ -712,7 +712,7 @@ def self.default( hOpts )
712 712
         when "extlibs"
713 713
           @@extlibs = v.split( "," ).map{ |x| x.strip }
714 714
         else
715  
-          warn "Invalide option #{k}!"
  715
+          warn "Invalid option #{k}!"
716 716
       end
717 717
     end
718 718
   end
2  lib/graphviz/attrs.rb
@@ -61,7 +61,7 @@ def []=( key, value )
61 61
          begin
62 62
             value = GraphViz::Types.const_get(@attributes[key.to_s]).new( value )
63 63
          rescue => e
64  
-            raise AttributeException, "Invalide value `#{value}` for attribute `#{key}` : #{e}"
  64
+            raise AttributeException, "Invalid value `#{value}` for attribute `#{key}` : #{e}"
65 65
          end
66 66
 
67 67
          if value
4  lib/graphviz/constants.rb
@@ -103,8 +103,8 @@ module Constants
103 103
   ## Const: graphs type
104 104
   GRAPHTYPE = [
105 105
     "digraph",
106  
-	 "graph",
107  
-	 "strict digraph"
  106
+    "graph",
  107
+    "strict digraph"
108 108
   ]
109 109
 
110 110
   def self.getAttrsFor( x )

0 notes on commit 376d150

Please sign in to comment.
Something went wrong with that request. Please try again.