Class: Magick::ExtractObject::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rmagick/extract_object/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



6
7
8
9
10
# File 'lib/rmagick/extract_object/config.rb', line 6

def initialize
  @slope       = 10_000_000
  @mask_color   = "red"
  @content_type = []
end

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



4
5
6
# File 'lib/rmagick/extract_object/config.rb', line 4

def content_type
  @content_type
end

#mask_colorObject

Returns the value of attribute mask_color.



4
5
6
# File 'lib/rmagick/extract_object/config.rb', line 4

def mask_color
  @mask_color
end

#slopeObject

Returns the value of attribute slope.



4
5
6
# File 'lib/rmagick/extract_object/config.rb', line 4

def slope
  @slope
end