Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/interscript/node/item/string.rb

Overview

stdext

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



51
52
53
54
55
56
57
# File 'lib/interscript/node/item/string.rb', line 51

def + other
  if Interscript::Node === other
    Interscript::Node::Item.try_convert(self) + other
  else
    self.plus_before_interscript(other)
  end
end

#plus_before_interscriptObject



50
# File 'lib/interscript/node/item/string.rb', line 50

alias plus_before_interscript +