Skip to content

Commit

Permalink
moves compress method after private
Browse files Browse the repository at this point in the history
  • Loading branch information
emrekutlu committed Apr 4, 2016
1 parent 4d97416 commit 74b815c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/paperclip-compression/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ def process_file
@dst
end

private def compress
fail MustImplementInSubClassesException,
'compress is overridden on a per compressor basis.'
end

protected

def process_file?
Expand Down Expand Up @@ -71,6 +66,11 @@ def command_path(command)

private

def compress
fail MustImplementInSubClassesException,
'compress is overridden on a per compressor basis.'
end

def first_processor?
@first_processor
end
Expand Down

0 comments on commit 74b815c

Please sign in to comment.