Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/chromate/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/chromate/core_ext/string.rb', line 6

def +(other)
  if other.is_a?(Chromate::Effect) or other.is_a?(Chromate::EffectSet)
    self + other.escape
  else
    old_plus(other)
  end
end