class Posgra::DSL
Public Class Methods
convert_databases(exported, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 10 def self.convert_databases(exported, options = {}) Posgra::DSL::Converter.convert_databases(exported, options) end
convert_grants(exported, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 6 def self.convert_grants(exported, options = {}) Posgra::DSL::Converter.convert_grants(exported, options) end
convert_roles(exported, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 2 def self.convert_roles(exported, options = {}) Posgra::DSL::Converter.convert_roles(exported, options) end
parse_databases(dsl, path, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 22 def self.parse_databases(dsl, path, options = {}) Posgra::DSL::Database.eval(dsl, path, options).result end
parse_grants(dsl, path, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 18 def self.parse_grants(dsl, path, options = {}) Posgra::DSL::Grants.eval(dsl, path, options).result end
parse_roles(dsl, path, options = {})
click to toggle source
# File lib/posgra/dsl.rb, line 14 def self.parse_roles(dsl, path, options = {}) Posgra::DSL::Roles.eval(dsl, path, options).result end