Class: Tdc::DataDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/tdc/data_definition.rb

Overview

Knows how to read data definitions from the specified path elements.

Instance Method Summary collapse

Instance Method Details

#read(*_path_elements) ⇒ Object



6
7
8
# File 'lib/tdc/data_definition.rb', line 6

def read(*_path_elements)
  raise MissingOverrideError, "Implement the 'read' method"
end

#with_indifferent_accessObject



10
11
12
# File 'lib/tdc/data_definition.rb', line 10

def with_indifferent_access
  self.extend(Tdc::WithIndifferentAccessDecorator) # rubocop:disable Style/RedundantSelf
end