Class: ThemeJuice::Util

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/theme-juice/util.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = [], options = {}, config = {}) ⇒ Util

Returns a new instance of Util.



7
8
9
10
11
12
13
14
15
# File 'lib/theme-juice/util.rb', line 7

def initialize(args = [], options = {}, config = {})
  @env      = Env
  @io       = IO
  @project  = Project

  options.merge! :pretend => @env.dryrun

  super args, options, config
end