class OptParseValidator::ConfigFilesLoaderMerger::ConfigFile::Base

Base class, parse should be implemented in child classes

Attributes

path[R]

Public Class Methods

new(path) click to toggle source

@param [ String ] path The file path of the option file

# File lib/opt_parse_validator/config_files_loader_merger/base.rb, line 11
def initialize(path)
  @path = path
end

Public Instance Methods

==(other) click to toggle source
# File lib/opt_parse_validator/config_files_loader_merger/base.rb, line 20
def ==(other)
  path == other.path
end
parse() click to toggle source

@return [ Hash ] a { ‘key’ => value } hash

# File lib/opt_parse_validator/config_files_loader_merger/base.rb, line 16
def parse
  raise NotImplementedError
end