Class: SharedTasks::Config
- Inherits:
-
Object
- Object
- SharedTasks::Config
- Includes:
- Singleton
- Defined in:
- lib/shared_tasks/config.rb
Overview
Class used to initialize configuration object.
Instance Attribute Summary collapse
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 |
# File 'lib/shared_tasks/config.rb', line 9 def initialize @table_name = "shared_tasks" end |
Instance Attribute Details
#table_name ⇒ Object
Returns the value of attribute table_name.
7 8 9 |
# File 'lib/shared_tasks/config.rb', line 7 def table_name @table_name end |