Class: Voltron::Config::Crop
- Inherits:
-
Object
- Object
- Voltron::Config::Crop
- Defined in:
- lib/voltron/config/crop.rb
Instance Attribute Summary collapse
-
#min_height ⇒ Object
Returns the value of attribute min_height.
-
#min_width ⇒ Object
Returns the value of attribute min_width.
Instance Method Summary collapse
-
#initialize ⇒ Crop
constructor
A new instance of Crop.
Constructor Details
#initialize ⇒ Crop
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_height ⇒ Object
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_width ⇒ Object
Returns the value of attribute min_width.
10 11 12 |
# File 'lib/voltron/config/crop.rb', line 10 def min_width @min_width end |