lib/image_resizer/format.rb
def all_operations
      operations + default_operations.reject do |op|
        has_operation?(op[:operation])
      end
    end
# User-defined operations plus defaults (unless the user-defined) overrides
# the default
#
User-defined operations plus defaults (unless the user-defined) overrides
the default
User - defined operations plus defaults ( unless the user - defined ) overrides the default
def all_operations
      operations + default_operations.reject do |op|
        has_operation?(op[:operation])
      end
    end
def all_operations operations + default_operations . reject do | op | has_operation? ( op [ :operation ] ) end end
User-defined operations plus defaults (unless the user-defined) overrides
the default
User - defined operations plus defaults ( unless the user - defined ) overrides the default