Method: Paletti#initialize

Defined in:
lib/paletti.rb

#initialize(path_to_image) ⇒ Paletti

Returns a new instance of Paletti.



6
7
8
9
# File 'lib/paletti.rb', line 6

def initialize(path_to_image)
  # Load the image at the given path
  @image = Magick::Image.read(path_to_image)[0]
end