Class: ROM::Types::Values::TreePath

Inherits:
Object
  • Object
show all
Defined in:
lib/rom/types/values.rb

Constant Summary collapse

DEFAULT_SEPARATOR =
'.'.freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(value, separator = DEFAULT_SEPARATOR) ⇒ Object



12
13
14
# File 'lib/rom/types/values.rb', line 12

def self.new(value, separator = DEFAULT_SEPARATOR)
  super
end

Instance Method Details

#to_sObject Also known as: to_str



17
18
19
# File 'lib/rom/types/values.rb', line 17

def to_s
  value
end