class Fatbundle::CLI

Public Class Methods

new(args) click to toggle source
# File lib/fatbundle/cli.rb, line 5
def initialize(args)
  @script = args[0]
end

Public Instance Methods

run() click to toggle source
# File lib/fatbundle/cli.rb, line 9
def run
  preamble = Fatbundle::Packager.new.pack
  puts preamble
  puts File.read(@script) if @script
end