Module: Gem::MiniMirror::Resource

Included in:
Gem::MiniMirror::Resources::BaseFile
Defined in:
lib/rubygems/mini_mirror/resource.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/rubygems/mini_mirror/resource.rb', line 6

def self.included(base)
  base.class_eval do
    attr_accessor :sources
    attr_reader :dependencies
    include Gem::MiniMirror::Cli
    extend ClassMethods
  end
end

Instance Method Details

#tagObject



21
22
23
# File 'lib/rubygems/mini_mirror/resource.rb', line 21

def tag
  @options.to_s
end