Module: Nomono::GemfileDsl

Defined in:
lib/nomono/dsl.rb

Instance Method Summary collapse

Instance Method Details

#eval_nomono_gems(gems:, **opts) ⇒ Object



9
10
11
12
13
# File 'lib/nomono/dsl.rb', line 9

def eval_nomono_gems(gems:, **opts)
  nomono_gems(gems: gems, **opts).each do |gem_name, gem_path|
    gem(gem_name, path: gem_path)
  end
end

#nomono_gems(gems:, **opts) ⇒ Object



5
6
7
# File 'lib/nomono/dsl.rb', line 5

def nomono_gems(gems:, **opts)
  Nomono.resolver.gems(gems: gems, **opts)
end