Sha256: 1f73df3c9cf3008ab246bb6b38fcd65371b0b5b4d80c096e32990c9a4b89b0ce
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true require "forwardable" module CobraCommander # A package within the class Package extend Forwardable attr_reader :source, :path, :name, :dependencies def_delegators :source, :key def initialize(source, path:, dependencies:, name:) @source = source @path = path @name = name @dependencies = dependencies end def describe "#{name} (#{key})" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cobra_commander-1.1.0 | lib/cobra_commander/package.rb |