OSDN Git Service

load arcs bowl
[tdcgexplorer/nimono-crawlers.git] / lib / bowl.rb
index 6ea73b2..a77e955 100644 (file)
@@ -87,8 +87,12 @@ class Bowl
     body
   end
 
+  def name
+    "#{code}.#{extname}"
+  end
+
   def arc_path
-    "/Volumes/uploader/arc/mmdbowl/#{code}.#{extname}"
+    "/Volumes/uploader/arc/mmdbowl/#{name}"
   end
 
   def save_arc_0