Class: IpynbDiff::JsonSymbol

Inherits:
String
  • Object
show all
Defined in:
lib/symbolized_markdown_helper.rb

Overview

Simple wrapper for a string

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Object



26
27
28
# File 'lib/symbolized_markdown_helper.rb', line 26

def /(other)
  JsonSymbol.new((other.is_a?(Array) ? [self, *other] : [self, other]).join('.'))
end