class Muck::ConfigDSL::SSHDSL
Public Class Methods
new(hash)
click to toggle source
# File lib/muck/config_dsl/ssh_dsl.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
key(key)
click to toggle source
# File lib/muck/config_dsl/ssh_dsl.rb, line 13 def key(key) @hash[:key] = key end
port(port)
click to toggle source
# File lib/muck/config_dsl/ssh_dsl.rb, line 9 def port(port) @hash[:port] = port end
username(username)
click to toggle source
# File lib/muck/config_dsl/ssh_dsl.rb, line 17 def username(username) @hash[:username] = username end