module ZendeskAppsTools::CommandHelpers
Public Class Methods
included(base)
click to toggle source
# File lib/zendesk_apps_tools/command_helpers.rb, line 18 def self.included(base) base.extend(ClassMethods) end
Public Instance Methods
cache()
click to toggle source
# File lib/zendesk_apps_tools/command_helpers.rb, line 22 def cache @cache ||= begin require 'zendesk_apps_tools/cache' Cache.new(options) end end
setup_path(path)
click to toggle source
# File lib/zendesk_apps_tools/command_helpers.rb, line 29 def setup_path(path) @destination_stack << relative_to_original_destination_root(path) unless @destination_stack.last == path end