Class: PgObjects::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/pg_objects/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



27
28
29
30
31
32
# File 'lib/pg_objects/config.rb', line 27

def initialize
  @before_path = 'db/objects/before'
  @after_path = 'db/objects/after'
  @extensions = ['sql']
  @silent = false
end

Instance Attribute Details

#after_pathObject

Returns the value of attribute after_path.



25
26
27
# File 'lib/pg_objects/config.rb', line 25

def after_path
  @after_path
end

#before_pathObject

Returns the value of attribute before_path.



25
26
27
# File 'lib/pg_objects/config.rb', line 25

def before_path
  @before_path
end

#extensionsObject

Returns the value of attribute extensions.



25
26
27
# File 'lib/pg_objects/config.rb', line 25

def extensions
  @extensions
end

#silentObject

Returns the value of attribute silent.



25
26
27
# File 'lib/pg_objects/config.rb', line 25

def silent
  @silent
end