Sha256: 2fc5f5cf5d6d2148c892c91b891f050372b095852de7218acae76e1d4d7664d9
Contents?: true
Size: 614 Bytes
Versions: 4
Compression:
Stored size: 614 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 # @params [ Hash ] opts # @return [ Hash ] a { 'key' => value } hash def parse(_opts = {}) raise NotImplementedError end def ==(other) path == other.path end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems