class Object
Public Instance Methods
_command(command)
click to toggle source
# File lib/capose.rb, line 19 def _command(command) [_project, _files, command].join(" ") end
_files()
click to toggle source
# File lib/capose.rb, line 11 def _files cmd = [] Array(fetch(:capose_file)).each { |file| cmd << ["-f #{file}"] } cmd.join(" ") end
_project()
click to toggle source
# File lib/capose.rb, line 6 def _project return "" if fetch(:capose_project).nil? "-p #{fetch(:capose_project)}" end