Method: Steep::ModuleName#+
- Defined in:
- lib/steep/module_name.rb
#+(other) ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/steep/module_name.rb', line 80 def +(other) case other when self.class if other.absolute? other else self.class.new(name: "#{name}::#{other.name}", absolute: absolute?) end else self + self.class.parse(other) end end |