Skip to content
This repository
Browse code

Fixes a couple of typos and spacing

  • Loading branch information...
commit 32b02260b1398d53728809427d6f051bc08f9999 1 parent abe4b04
Mike Fiedler authored July 17, 2012
2  lib/graphviz.rb
@@ -755,7 +755,7 @@ def self.default( hOpts )
755 755
         when "extlibs"
756 756
           @@extlibs = v.split( "," ).map{ |x| x.strip }
757 757
         else
758  
-          warn "Invalide option #{k}!"
  758
+          warn "Invalid option #{k}!"
759 759
       end
760 760
     end
761 761
   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 32b0226

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