Method: Twterm::Image::StringImage#-

Defined in:
lib/twterm/image/string_image.rb

#-(other) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/twterm/image/string_image.rb', line 8

def -(other)
  if other.is_a?(self.class)
    self.class.new(string + other.string)
  else
    super
  end
end