Sha256: d9837d96e54b64a7d532df0e56aab3effa0736ec708c3c987919db005501afc9

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

module RequireGem
  def self.req(gems)
    raise StandardError, 'Gem was not informed' if gems.empty?
    gems.uniq.each { |gem| req_gem(gem) }
  end

  def self.req_gem(gem)
    require gem
  end

  private_class_method :req_gem
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
require_smasher-0.2.0 lib/require_smasher/require_gem.rb