Module: R10K::Util::Setopts
- Included in:
- Action::Deploy::Display, Action::Deploy::Environment, Action::Deploy::Module, Action::Puppetfile::Check, Action::Puppetfile::Install, Action::Puppetfile::Purge, Environment::SVN, Module::SVN, SVN::Remote, SVN::WorkingDir, Source::SVN, Attempt, R10K::Util::Subprocess::SubprocessError
- Defined in:
- lib/r10k/util/setopts.rb
Overview
Allow for easy setting of instance options based on a hash
This emulates the behavior of Ruby 2.0 named arguments, but since r10k supports Ruby 1.8.7+ we cannot use that functionality.