Class: Rake::RubyForgePublisher
- Inherits:
-
SshDirPublisher
- Object
- SshDirPublisher
- Rake::RubyForgePublisher
- Defined in:
- lib/rake/contrib/rubyforgepublisher.rb
Overview
:nodoc: all
Constant Summary
Constants included from FileUtilsExt
Constants included from FileUtils
FileUtils::LN_SUPPORTED, FileUtils::RUBY
Instance Attribute Summary collapse
-
#proj_id ⇒ Object
readonly
Returns the value of attribute proj_id.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(projname, user) ⇒ RubyForgePublisher
constructor
A new instance of RubyForgePublisher.
Methods inherited from SshDirPublisher
Methods included from FileUtilsExt
#nowrite, #rake_check_options, #rake_merge_option, #rake_output_message, #verbose, #when_writing
Methods included from FileUtils
#ruby, #safe_ln, #sh, #split_all
Constructor Details
#initialize(projname, user) ⇒ RubyForgePublisher
Returns a new instance of RubyForgePublisher.
10 11 12 13 14 15 |
# File 'lib/rake/contrib/rubyforgepublisher.rb', line 10 def initialize(projname, user) super( "#{user}@rubyforge.org", "/var/www/gforge-projects/#{projname}", "html") end |
Instance Attribute Details
#proj_id ⇒ Object (readonly)
Returns the value of attribute proj_id.
8 9 10 |
# File 'lib/rake/contrib/rubyforgepublisher.rb', line 8 def proj_id @proj_id end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
8 9 10 |
# File 'lib/rake/contrib/rubyforgepublisher.rb', line 8 def project @project end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
8 9 10 |
# File 'lib/rake/contrib/rubyforgepublisher.rb', line 8 def user @user end |