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 Method Summary collapse

Methods inherited from Base

#command, #command!, #debug, #initialize

Methods included from Helpers

#create_conf, #erb, #instance_variables_to_hash, #remove_line_from_file, #write_if_not_exist

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
  Db.new
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
  User.new
end