Class: Mongration::Configuration
- Inherits:
-
Object
- Object
- Mongration::Configuration
- Defined in:
- lib/mongration/configuration.rb
Defined Under Namespace
Classes: ConfigNotFound
Instance Attribute Summary collapse
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#dir ⇒ Object
Returns the value of attribute dir.
-
#err_out ⇒ Object
writeonly
Sets the attribute err_out.
-
#silent ⇒ Object
writeonly
Sets the attribute silent.
-
#timestamps ⇒ Object
writeonly
Sets the attribute timestamps.
Instance Method Summary collapse
Instance Attribute Details
#config_path ⇒ Object
Returns the value of attribute config_path.
12 13 14 |
# File 'lib/mongration/configuration.rb', line 12 def config_path @config_path end |
#dir ⇒ Object
Returns the value of attribute dir.
12 13 14 |
# File 'lib/mongration/configuration.rb', line 12 def dir @dir end |
#err_out=(value) ⇒ Object
Sets the attribute err_out
13 14 15 |
# File 'lib/mongration/configuration.rb', line 13 def err_out=(value) @err_out = value end |
#silent=(value) ⇒ Object (writeonly)
Sets the attribute silent
13 14 15 |
# File 'lib/mongration/configuration.rb', line 13 def silent=(value) @silent = value end |
#timestamps=(value) ⇒ Object (writeonly)
Sets the attribute timestamps
13 14 15 |
# File 'lib/mongration/configuration.rb', line 13 def (value) = value end |
Instance Method Details
#silent? ⇒ Boolean
40 41 42 |
# File 'lib/mongration/configuration.rb', line 40 def silent? @silent end |
#timestamps? ⇒ Boolean
36 37 38 |
# File 'lib/mongration/configuration.rb', line 36 def end |