Permalink
Browse files

fixed uuid parameter

  • Loading branch information...
1 parent 0e53161 commit 9fe57c2a953853abd1bd04e5cf56579a85179fab @fstrozzi committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bio/grid.rb
View
@@ -6,7 +6,7 @@ class Grid
def initialize(input,number, uuid)
@input = input
@number = number
- @uuid = (options[:uuid]) ? options[:uuid] : UUID.new.generate.split("-").first
+ @uuid = uuid ? uuid : UUID.new.generate.split("-").first
end
def self.run(options)

0 comments on commit 9fe57c2

Please sign in to comment.