Module: WdSinatraSequel
- Defined in:
- lib/wd_sinatra_sequel.rb,
lib/wd_sinatra_sequel/version.rb
Defined Under Namespace
Modules: DBConnector
Constant Summary collapse
- VERSION =
"0.0.4"
Class Method Summary collapse
-
.task_path ⇒ Object
Path to the rake task file so it can be loaded as such: load WdSinatraSequel.task_path (Note that the app loaded should have been started using something like: WDSinatra::AppLoader.console(RAKE_APP_ROOT) before loading this rake task.).
Class Method Details
.task_path ⇒ Object
Path to the rake task file so it can be loaded as such:
load WdSinatraSequel.task_path
(Note that the app loaded should have been started using something like:
WDSinatra::AppLoader.console(RAKE_APP_ROOT)
before loading this rake task.)
16 17 18 |
# File 'lib/wd_sinatra_sequel.rb', line 16 def self.task_path File.join(File.(File.dirname(__FILE__), ".."), "wd_sinatra_sequel", "db.rake") end |