Sha256: 6fa56cfa01096c7c11c2a574d3fe5c49934be030ef9d257c7c290fd5461e5da7
Contents?: true
Size: 570 Bytes
Versions: 11
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true module OptParseValidator class ConfigFilesLoaderMerger < Array module ConfigFile # Base class, #parse should be implemented in child classes class Base attr_reader :path # @param [ String ] path The file path of the option file def initialize(path) @path = path end # @return [ Hash ] a { 'key' => value } hash def parse raise NotImplementedError end def ==(other) path == other.path end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems