Class: Rocketwheel::Command::CLI::Encode

Inherits:
Base
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/rocketwheel/command/cli/encode.rb

Defined Under Namespace

Classes: Task

Instance Method Summary collapse

Methods inherited from Base

filename, #help, #method_missing, start, #version

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rocketwheel::Command::CLI::Base

Instance Method Details

#encodeObject



18
19
20
21
# File 'lib/rocketwheel/command/cli/encode.rb', line 18

def encode
  files = Dir["#{File.join(File.expand_path('./'), source)}/**/**"].select { |f| File.file?(f) }
  invoke Task, [files, manifest, File.join(File.expand_path('./'), destination)]
end