Class: Superhosting::Controller::Mysql

Inherits:
Base
  • Object
show all
Defined in:
lib/superhosting/controller/mysql.rb,
lib/superhosting/controller/mysql/db.rb,
lib/superhosting/controller/mysql/user.rb

Defined Under Namespace

Classes: Db, User

Instance Attribute Summary

Attributes inherited from Base

#config, #lib

Instance Method Summary collapse

Methods inherited from Base

#repair

Methods inherited from Base

#get_base_controller_options, #get_controller, #initialize

Methods included from Helpers

#instance_variables_to_hash

Methods included from Helper::Config

#_config, #_config_options, #_save_registry!, #apply, #configure, #configure_with_apply, #reconfig, #unapply, #unconfigure, #unconfigure_with_unapply

Methods included from Helper::Cmd

#_command, #_command_without_debug, #command, #command!

Methods included from Helper::File

#chmod!, #chown!, #chown_r!, #safe_link!, #safe_unlink!

Methods included from Helper::Logger

#__debug, #__dry_run, #__dry_run=, #__logger, #__logger=, #debug, #debug_block, #debug_operation, #indent, #indent=, #indent_reset, #indent_step, #indent_step_back, #info, #storage, #t, #with_dry_run, #with_indent, #with_logger

Constructor Details

This class inherits a constructor from Superhosting::Base

Instance Method Details

#dbObject



4
5
6
# File 'lib/superhosting/controller/mysql.rb', line 4

def db
  self.get_controller(Db)
end

#grantObject



12
13
14
# File 'lib/superhosting/controller/mysql.rb', line 12

def grant

end

#userObject



8
9
10
# File 'lib/superhosting/controller/mysql.rb', line 8

def user
  self.get_controller(User)
end