Module: Rake::Gemcutter::Tasks::CommandTweaks
- Defined in:
- lib/rake/rubygems.rb
Instance Method Summary collapse
- #gem_list=(list) ⇒ Object
- #get_all_gem_names ⇒ Object
- #get_one_gem_name ⇒ Object
- #setup_args(args = nil) ⇒ Object
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_names ⇒ Object
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_name ⇒ Object
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 ||= [] (args) end |