Class: PgObjects::Config
- Inherits:
-
Object
- Object
- PgObjects::Config
- Defined in:
- lib/pg_objects/config.rb
Instance Attribute Summary collapse
-
#after_path ⇒ Object
Returns the value of attribute after_path.
-
#before_path ⇒ Object
Returns the value of attribute before_path.
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#silent ⇒ Object
Returns the value of attribute silent.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_path ⇒ Object
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_path ⇒ Object
Returns the value of attribute before_path.
25 26 27 |
# File 'lib/pg_objects/config.rb', line 25 def before_path @before_path end |
#extensions ⇒ Object
Returns the value of attribute extensions.
25 26 27 |
# File 'lib/pg_objects/config.rb', line 25 def extensions @extensions end |
#silent ⇒ Object
Returns the value of attribute silent.
25 26 27 |
# File 'lib/pg_objects/config.rb', line 25 def silent @silent end |