Module: Rake::Gemcutter::Tasks::CommandTweaks

Defined in:
lib/rake/rubygems.rb

Instance Method Summary collapse

Instance Method Details

#gem_list=(list) ⇒ Object



43
44
45
# File 'lib/rake/rubygems.rb', line 43

def gem_list=(list)
  @gems = list
end

#get_all_gem_namesObject



47
48
49
50
# File 'lib/rake/rubygems.rb', line 47

def get_all_gem_names
  return @gems if defined?(@gems)
  super
end

#get_one_gem_nameObject



52
53
54
55
# File 'lib/rake/rubygems.rb', line 52

def get_one_gem_name
  return @gems.first if defined?(@gems)
  super
end

#setup_args(args = nil) ⇒ Object



38
39
40
41
# File 'lib/rake/rubygems.rb', line 38

def setup_args(args = nil)
  args ||= []
  handle_options(args)
end