Sha256: 85347d9041192f5d697a30cc9199475cba8ee020119670d635381e9efa5fd2d9
Contents?: true
Size: 500 Bytes
Versions: 43
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true class Sinclair module OptionsParser class Dummy include OptionsParser def initialize(options) @options = options.deep_dup end def the_method return 'missing option' if options_object.switch.nil? if options_object.switch "The value is #{options_object.option_1}" else "The value is not #{options_object.option_1} but #{options_object.option_2}" end end end end end
Version data entries
43 entries across 43 versions & 1 rubygems