Class: Hyrb::Tasks::Defaults::Inject

Inherits:
Hyrb::Task show all
Defined in:
lib/hyrb/tasks/defaults.rb

Instance Attribute Summary

Attributes inherited from Hyrb::Task

#env, #pipeline

Instance Method Summary collapse

Methods inherited from Hyrb::Task

depends, #initialize, prompt, prompts, #run_before

Constructor Details

This class inherits a constructor from Hyrb::Task

Instance Method Details

#run(env) ⇒ Object



5
6
7
# File 'lib/hyrb/tasks/defaults.rb', line 5

def run(env)
  env.defaults = Hyrb::Models::Defaults.new
end