Skip to content

Commit

Permalink
fix error with Tarantool::DB#space
Browse files Browse the repository at this point in the history
  • Loading branch information
funny-falcon committed Aug 3, 2012
1 parent 34ba72a commit 3672c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tarantool.rb
Expand Up @@ -98,7 +98,7 @@ def space(space_no, fields = [], opts = {})
when Array
space_array(space_no, fields, opts)
when Hash
space_array(space_no, fields, opts)
space_hash(space_no, fields, opts)
else
raise "You should specify fields as an array or hash (got #{fields.inspect})"
end
Expand Down

0 comments on commit 3672c5f

Please sign in to comment.