class Muck::ConfigDSL::DatabaseDSL

Public Class Methods

new(hash) click to toggle source
# File lib/muck/config_dsl/database_dsl.rb, line 5
def initialize(hash)
  @hash = hash
end

Public Instance Methods

hostname(hostname) click to toggle source
# File lib/muck/config_dsl/database_dsl.rb, line 13
def hostname(hostname)
  @hash[:hostname] = hostname
end
name(name) click to toggle source
# File lib/muck/config_dsl/database_dsl.rb, line 9
def name(name)
  @hash[:name] = name
end
password(password) click to toggle source
# File lib/muck/config_dsl/database_dsl.rb, line 21
def password(password)
  @hash[:password] = password
end
username(username) click to toggle source
# File lib/muck/config_dsl/database_dsl.rb, line 17
def username(username)
  @hash[:username] = username
end