<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -150,6 +150,12 @@ class UUID
   end
 
   ##
+  # Specify the path of the state file.
+  def self.state_file=(path)
+    @state_file = path
+  end
+
+  ##
   # Create a new UUID generator.  You really only need to do this once.
   def initialize
     @drift = 0</diff>
      <filename>lib/uuid.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,13 @@ class TestUUID &lt; Test::Unit::TestCase
     UUID.new.generate
     File.exist?(path)
   end
-  
+
+  def test_state_file_specify
+    path = File.join(&quot;path&quot;, &quot;to&quot;, &quot;ruby-uuid&quot;)
+    UUID.state_file = path
+    assert_equal path, UUID.state_file
+  end
+
   def test_instance_generate
     uuid = UUID.new
     assert_match(/\A[\da-f]{32}\z/i, uuid.generate(:compact))</diff>
      <filename>test/test-uuid.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9fa1fd429dbc1fba6a5c87e51ee0eee21d2a7b73</id>
    </parent>
  </parents>
  <author>
    <name>Takeshi Abe</name>
    <email>abe@good-day.co.jp</email>
  </author>
  <url>http://github.com/assaf/uuid/commit/b7fcbfc73a1088a44483df079e47f4a2c8f26352</url>
  <id>b7fcbfc73a1088a44483df079e47f4a2c8f26352</id>
  <committed-date>2009-07-08T23:13:28-07:00</committed-date>
  <authored-date>2009-07-08T19:50:59-07:00</authored-date>
  <message>setter for path of state file

Signed-off-by: Assaf Arkin &lt;assaf@labnotes.org&gt;</message>
  <tree>3e90d8b89e61df6bea2e861aa89fc7a9902e5e5a</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </committer>
</commit>
