class Base::Resize

Class for the resize data.

Attributes

height[R]
width[R]

Public Class Methods

new(width:, height:) click to toggle source
# File lib/base/models/resize.rb, line 9
def initialize(width:, height:)
  @height = height
  @width = width
end

Public Instance Methods

to_s() click to toggle source
# File lib/base/models/resize.rb, line 14
def to_s
  [@width, @height].join('_')
end