Sha256: ee1514c9a3626c9ea0b650c12b27337b12c5b090d4fed06ea69d0e09814e6280
Contents?: true
Size: 408 Bytes
Versions: 8
Compression:
Stored size: 408 Bytes
Contents
require 'singleton' module Kakine class Option include Singleton class << self def set_options(options) @@options = options end def yaml_name @@options[:filename] ? @@options[:filename] : "#{@@options[:tenant]}.yaml" end def tenant_name @@options["tenant"] end def dryrun? @@options["dryrun"] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems