class Terradactyl::StacksPlanFilterDefault
Public Class Methods
desc()
click to toggle source
# File lib/terradactyl/filters.rb, line 11 def self.desc 'A list of all stacks in the basedir' end
name()
click to toggle source
# File lib/terradactyl/filters.rb, line 7 def self.name 'default' end
Public Instance Methods
base_dir()
click to toggle source
# File lib/terradactyl/filters.rb, line 19 def base_dir config.base_folder end
git_cmd()
click to toggle source
# File lib/terradactyl/filters.rb, line 15 def git_cmd `git ls-files .` end
sift(stacks)
click to toggle source
# File lib/terradactyl/filters.rb, line 27 def sift(stacks) stacks end
stack_name(path)
click to toggle source
# File lib/terradactyl/filters.rb, line 23 def stack_name(path) path.split('/')[1] end