Module: BridgetownSequel

Defined in:
lib/bridgetown_sequel.rb,
lib/bridgetown_sequel/version.rb

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.load_tasks(models_dir: "models") ⇒ Object



10
11
12
13
# File 'lib/bridgetown_sequel.rb', line 10

def self.load_tasks(models_dir: "models")
  ENV["BRIDGETOWN_SEQUEL_MODELS_DIR"] ||= models_dir
  load File.expand_path("tasks/sequel_database.rake", __dir__)
end