Module: EacRubyUtils::Envs::SshEnv::DashoOptions::ClassMethods

Defined in:
lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb

Instance Method Summary collapse

Instance Method Details

#add_nodasho_option(name) ⇒ Object



13
14
15
16
17
18
# File 'lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb', line 13

def add_nodasho_option(name)
  return if nodasho_options.include?(name)

  nodasho_options << name
  const_set("#{name.underscore}_option".upcase, name)
end

#nodasho_optionsObject



20
21
22
# File 'lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb', line 20

def nodasho_options
  @nodasho_options ||= []
end