Method: Paperclip::Geometry#horizontal?

Defined in:
lib/paperclip/geometry.rb

#horizontal?Boolean

True if the dimensions represent a horizontal rectangle

Returns:

  • (Boolean)


49
50
51
# File 'lib/paperclip/geometry.rb', line 49

def horizontal?
  height < width
end