Module: Automux::Paths

Extended by:
Paths
Included in:
Paths
Defined in:
lib/automux/paths.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



13
14
15
# File 'lib/automux/paths.rb', line 13

def data
  File.join(root, 'data/automux')
end

#default_blueprintObject



5
6
7
# File 'lib/automux/paths.rb', line 5

def default_blueprint
  File.join(data, 'blueprints', 'default.yml')
end

#default_recipeObject



9
10
11
# File 'lib/automux/paths.rb', line 9

def default_recipe
  File.join(data, 'recipes', 'default.sh.erb')
end

#rootObject



17
18
19
# File 'lib/automux/paths.rb', line 17

def root
  File.expand_path('../../../', __FILE__)
end

#user_assetsObject



25
26
27
# File 'lib/automux/paths.rb', line 25

def user_assets
  File.join(ENV['HOME'], '.automux')
end

#viewsObject



21
22
23
# File 'lib/automux/paths.rb', line 21

def views
  'lib/automux/views'
end