Class: HTMLRender::Images::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/html_render/images.rb

Direct Known Subclasses

PNGImage

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



8
9
10
11
# File 'lib/html_render/images.rb', line 8

def ==(other)
  return false unless self.class === other
  (self <=> other) == 0
end

#difference(other) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/html_render/images.rb', line 13

def difference(other)
  raise NotImplementedError
end