Module: AngryShell::ShellMethods

Defined in:
lib/angry_shell.rb

Instance Method Summary collapse

Instance Method Details

#bundler_sh(*args, &blk) ⇒ Object

call ruby, or a ruby command without the environment being cleaned of bundler spooge



26
27
28
29
# File 'lib/angry_shell.rb', line 26

def bundler_sh(*args,&blk)
  args.options.without_cleaning_bundler = true
  AngryShell::Shell.new(*args,&blk)
end

#sh(*args, &blk) ⇒ Object



21
22
23
# File 'lib/angry_shell.rb', line 21

def sh(*args,&blk)
  AngryShell::Shell.new(*args,&blk)
end