Sha256: a1cabb332b02db4c4d39551991011d4b1efc66e23f6c087cdf34b2a5198dba89
Contents?: true
Size: 298 Bytes
Versions: 6
Compression:
Stored size: 298 Bytes
Contents
if defined?(require_relative) def require_api(path) require_relative "apis/#{path}" end else def require_api(path) require "github_cli/apis/#{path}" end end Dir[File.dirname(__FILE__) + '/apis/*.rb'].sort.each do |path| filename = File.basename(path) require_api(filename) end
Version data entries
6 entries across 6 versions & 1 rubygems