Skip to content

Commit

Permalink
bug - keys are strings here not symbols...
Browse files Browse the repository at this point in the history
  • Loading branch information
mustmodify committed Nov 10, 2011
1 parent 260d712 commit 441c8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sketch/base.rb
Expand Up @@ -14,7 +14,7 @@ def svg_attributes
end
end

out[:class] = out.delete(:klass) if out.has_key?(:klass)
out['class'] = out.delete('klass') if out.has_key?('klass')

out
end
Expand Down

0 comments on commit 441c8ce

Please sign in to comment.