Class: BundleHack::Command

Inherits:
Bundler::Plugin::API
  • Object
show all
Defined in:
lib/bundle_hack/command.rb

Instance Method Summary collapse

Instance Method Details

#exec(command, args) ⇒ Object



9
10
11
# File 'lib/bundle_hack/command.rb', line 9

def exec(command, args)
  Sandbox.new(args.first).create if command == 'hack'
end