Class: Terraspace::CLI::Clean::Base

Inherits:
Object
  • Object
show all
Includes:
Util::Logging, Util::Sure
Defined in:
lib/terraspace/cli/clean/base.rb

Direct Known Subclasses

Cache, Logs

Instance Method Summary collapse

Methods included from Util::Sure

#sure?

Methods included from Util::Logging

#logger

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/terraspace/cli/clean/base.rb', line 6

def initialize(options={})
  @options = options
end

Instance Method Details

#pretty(path) ⇒ Object



10
11
12
# File 'lib/terraspace/cli/clean/base.rb', line 10

def pretty(path)
  Terraspace::Util.pretty_path(path)
end