Class: Ruflow::Tasks::Setup
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Ruflow::Tasks::Setup
- Includes:
- Thor::Actions
- Defined in:
- lib/ruflow/tasks/setup.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
8 9 10 |
# File 'lib/ruflow/tasks/setup.rb', line 8 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#bundle_project ⇒ Object
16 17 18 19 20 |
# File 'lib/ruflow/tasks/setup.rb', line 16 def bundle_project inside(project_name) do run('bundler install') end end |
#create_lib_file ⇒ Object
12 13 14 |
# File 'lib/ruflow/tasks/setup.rb', line 12 def create_lib_file directory '../../../setup_files', project_name end |