Class: ActiveRecordTasks::DatabaseConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record_tasks.rb

Instance Attribute Summary collapse

Instance Attribute Details

#db_config_pathObject

Returns the value of attribute db_config_path

Returns:

  • (Object)

    the current value of db_config_path



5
6
7
# File 'lib/active_record_tasks.rb', line 5

def db_config_path
  @db_config_path
end

#db_dirObject

Returns the value of attribute db_dir

Returns:

  • (Object)

    the current value of db_dir



5
6
7
# File 'lib/active_record_tasks.rb', line 5

def db_dir
  @db_dir
end

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



5
6
7
# File 'lib/active_record_tasks.rb', line 5

def env
  @env
end