Module: Gondler

Defined in:
lib/gondler.rb,
lib/gondler/cli.rb,
lib/gondler/env.rb,
lib/gondler/gomfile.rb,
lib/gondler/package.rb,
lib/gondler/version.rb

Defined Under Namespace

Classes: CLI, Env, Gomfile, Package, REPL

Constant Summary collapse

VERSION =
'0.4.0'

Class Method Summary collapse

Class Method Details

.envObject



18
19
20
# File 'lib/gondler.rb', line 18

def env
  @env ||= Gondler::Env.new
end

.without(_without = nil) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/gondler.rb', line 9

def without(_without = nil)
  if block_given?
    _without, @without = without, _without
    yield
    @without = _without
  end
  @without || []
end