Class: Mongration::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mongration/configuration.rb

Defined Under Namespace

Classes: ConfigNotFound

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#config_pathObject

Returns the value of attribute config_path.



12
13
14
# File 'lib/mongration/configuration.rb', line 12

def config_path
  @config_path
end

#dirObject

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

Parameters:

  • value

    the value to set the attribute err_out to.



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

Parameters:

  • value

    the value to set the attribute silent to.



13
14
15
# File 'lib/mongration/configuration.rb', line 13

def silent=(value)
  @silent = value
end

#timestamps=(value) ⇒ Object (writeonly)

Sets the attribute timestamps

Parameters:

  • value

    the value to set the attribute timestamps to.



13
14
15
# File 'lib/mongration/configuration.rb', line 13

def timestamps=(value)
  @timestamps = value
end

Instance Method Details

#silent?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/mongration/configuration.rb', line 40

def silent?
  @silent
end

#timestamps?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/mongration/configuration.rb', line 36

def timestamps?
  @timestamps
end