Sha256: 0be5b3c88174e7b61499fe7b6548fc6b4379e0661fc40188c17aac58499729e1
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 Bytes
Contents
module SpecInfra module Configuration class << self VALID_OPTIONS_KEYS = [:path, :pre_command, :stdout, :stderr, :sudo_path, :pass_prompt].freeze attr_accessor(*VALID_OPTIONS_KEYS) def defaults VALID_OPTIONS_KEYS.inject({}) { |o, k| o.merge!(k => send(k)) } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
specinfra-0.0.3 | lib/specinfra/configuration.rb |
specinfra-0.0.2 | lib/specinfra/configuration.rb |