Class: Voltron::Config::Crop

Inherits:
Object
  • Object
show all
Defined in:
lib/voltron/config/crop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCrop

Returns a new instance of Crop.



12
13
14
15
# File 'lib/voltron/config/crop.rb', line 12

def initialize
  @min_width ||= 300
  @min_height ||= 300
end

Instance Attribute Details

#min_heightObject

Returns the value of attribute min_height.



10
11
12
# File 'lib/voltron/config/crop.rb', line 10

def min_height
  @min_height
end

#min_widthObject

Returns the value of attribute min_width.



10
11
12
# File 'lib/voltron/config/crop.rb', line 10

def min_width
  @min_width
end