Class: SSHKit::Configuration

### Home Classes Methods

### In Files

- lib/sshkit/configuration.rb

### Parent

Object

### Methods

- #backend
- #command_map
- #command_map=
- #default_env
- #format=
- #output
- #output_verbosity=

### Class/Module Index

Quicksearch

- SSHKit
- SSHKit::Backend
- SSHKit::Backend::Abstract
- SSHKit::Backend::ConnectionPool
- SSHKit::Backend::Local
- SSHKit::Backend::Netssh
- SSHKit::Backend::Netssh::Configuration
- SSHKit::Backend::Printer
- SSHKit::Backend::Skipper
- SSHKit::CommandMap
- SSHKit::CommandMap::CommandHash
- SSHKit::CommandMap::PrefixProvider
- SSHKit::Configuration
- SSHKit::Coordinator
- SSHKit::DSL
- SSHKit::Formatter
- SSHKit::Formatter::Abstract
- SSHKit::Formatter::BlackHole
- SSHKit::Formatter::Dot
- SSHKit::Formatter::Pretty
- SSHKit::Formatter::SimpleText
- SSHKit::Host
- SSHKit::HostWithPortParser
- SSHKit::HostWithUsernameAndPortParser
- SSHKit::HostWithUsernameParser
- SSHKit::IPv6HostWithPortParser
- SSHKit::LogMessage
- SSHKit::Logger
- SSHKit::Logger::SSHKit
- SSHKit::Logger::SSHKit::Logger
- SSHKit::Logger::SSHKit::Logger::Net
- SSHKit::Logger::SSHKit::Logger::Net::SSH
- SSHKit::Logger::SSHKit::Logger::Net::SSH::LogLevelShim
- SSHKit::Runner
- SSHKit::Runner::Abstract
- SSHKit::Runner::ExecuteError
- SSHKit::Runner::Group
- SSHKit::Runner::Null
- SSHKit::Runner::Parallel
- SSHKit::Runner::Sequential
- SSHKit::SimpleHostParser
- SSHKit::Utils
- SSHKit::Utils::CaptureOutputMethods
- Net
- Net::SSH
- Net::SSH::Config
- Array
- Color
- Hash
- Object

No matching classes.

# SSHKit::Configuration

### Attributes

backend[W]
default_env[W]
output[W]
output_verbosity[RW]
umask[RW]

### Public Instance Methods

backend() click to toggle source

    # File lib/sshkit/configuration.rb, line 16
    def backend
      @backend ||= SSHKit::Backend::Netssh
    end

command_map() click to toggle source

    # File lib/sshkit/configuration.rb, line 32
    def command_map
      @command_map ||= SSHKit::CommandMap.new
    end

command_map=(value) click to toggle source

    # File lib/sshkit/configuration.rb, line 36
    def command_map=(value)
      @command_map = SSHKit::CommandMap.new(value)
    end

default_env() click to toggle source

    # File lib/sshkit/configuration.rb, line 12
    def default_env
      @default_env ||= {}
    end

format=(format) click to toggle source

    # File lib/sshkit/configuration.rb, line 28
    def format=(format)
      self.output = formatter(format)
    end

output() click to toggle source

    # File lib/sshkit/configuration.rb, line 8
    def output
      @output ||= formatter(:pretty)
    end

output_verbosity=(verbosity) click to toggle source

    # File lib/sshkit/configuration.rb, line 24
    def output_verbosity=(verbosity)
      @output_verbosity = logger(verbosity)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.