Sha256: 64410ee0f9c3349a7827dddf00f79e74127b1094136fcfc7f88518230a6522e2
Contents?: true
Size: 455 Bytes
Versions: 11
Compression:
Stored size: 455 Bytes
Contents
module OptParseValidator module OptionsFile # 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 fail NotImplementedError end def ==(other) path == other.path end end end end
Version data entries
11 entries across 11 versions & 1 rubygems