Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Merge branch 'removing-bottlenecks' of https://github.com/DanielVarta…
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Nov 16, 2011
2 parents 1cee13e + ba18631 commit b09b05b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/paperclip/style.rb
Expand Up @@ -19,6 +19,10 @@ def initialize name, definition, attachment
@format = definition.delete(:format)
@processors = definition.delete(:processors)
@other_args = definition
elsif definition.is_a? String
@geometry = definition
@format = nil
@other_args = {}
else
@geometry, @format = [definition, nil].flatten[0..1]
@other_args = {}
Expand Down

0 comments on commit b09b05b

Please sign in to comment.