Class: SqlQuery::Config
- Inherits:
-
Object
- Object
- SqlQuery::Config
- Defined in:
- lib/sql_query.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
70 71 72 73 |
# File 'lib/sql_query.rb', line 70 def initialize @path = '/app/sql_queries' @adapter = ActiveRecord::Base end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
68 69 70 |
# File 'lib/sql_query.rb', line 68 def adapter @adapter end |
#path ⇒ Object
Returns the value of attribute path.
68 69 70 |
# File 'lib/sql_query.rb', line 68 def path @path end |