lib/strano/configuration.rb
# Public: Reset all configuration options to defaults.
# 
# Returns self.
Reset all configuration options to defaults.
Returns self.
Reset all configuration options to defaults . Returns self .
def reset
      self.public_ssh_key       = DEFAULT_PUBLIC_SSH_KEY
      self.clone_path           = DEFAULT_CLONE_PATH
      self.github_key           = DEFAULT_GITHUB_KEY
      self.github_secret        = DEFAULT_GITHUB_SECRET
      self.allow_organizations  = DEFAULT_ALLOW_ORGANIZATIONS
      self.allow_users          = DEFAULT_ALLOW_USERS
      self
    end
def reset self . public_ssh_key = DEFAULT_PUBLIC_SSH_KEY self . clone_path = DEFAULT_CLONE_PATH self . github_key = DEFAULT_GITHUB_KEY self . github_secret = DEFAULT_GITHUB_SECRET self . allow_organizations = DEFAULT_ALLOW_ORGANIZATIONS self . allow_users = DEFAULT_ALLOW_USERS self end
Public: Reset all configuration options to defaults.
Public : Reset all configuration options to defaults .