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.
74 75 76 77 |
# File 'lib/sql_query.rb', line 74 def initialize @path = '/app/sql_queries' @adapter = ActiveRecord::Base end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
72 73 74 |
# File 'lib/sql_query.rb', line 72 def adapter @adapter end |
#path ⇒ Object
Returns the value of attribute path.
72 73 74 |
# File 'lib/sql_query.rb', line 72 def path @path end |