Class: DevTools::Freshmeat::Project
- Inherits:
-
Object
- Object
- DevTools::Freshmeat::Project
- Defined in:
- lib/meta_project/release/freshmeat.rb
Overview
Describes a freshmeat project.
Instance Attribute Summary collapse
-
#fullName ⇒ Object
readonly
The full name of the project.
-
#shortName ⇒ Object
readonly
The short name of the project.
-
#status ⇒ Object
readonly
The status of the project (alpha, beta, …).
-
#version ⇒ Object
readonly
The current version string of the project.
Instance Method Summary collapse
-
#initialize(shortName, fullName, status, version) ⇒ Project
constructor
A new instance of Project.
- #to_s ⇒ Object
Constructor Details
#initialize(shortName, fullName, status, version) ⇒ Project
Returns a new instance of Project.
29 30 31 |
# File 'lib/meta_project/release/freshmeat.rb', line 29 def initialize( shortName, fullName, status, version ) @shortName, @fullName, @status, @version = shortName, fullName, status, version end |
Instance Attribute Details
#fullName ⇒ Object (readonly)
The full name of the project
21 22 23 |
# File 'lib/meta_project/release/freshmeat.rb', line 21 def fullName @fullName end |
#shortName ⇒ Object (readonly)
The short name of the project
18 19 20 |
# File 'lib/meta_project/release/freshmeat.rb', line 18 def shortName @shortName end |
#status ⇒ Object (readonly)
The status of the project (alpha, beta, …)
24 25 26 |
# File 'lib/meta_project/release/freshmeat.rb', line 24 def status @status end |
#version ⇒ Object (readonly)
The current version string of the project
27 28 29 |
# File 'lib/meta_project/release/freshmeat.rb', line 27 def version @version end |
Instance Method Details
#to_s ⇒ Object
33 34 35 |
# File 'lib/meta_project/release/freshmeat.rb', line 33 def to_s "Project: short name = #{@shortName}, full name = #{@fullName}, status = #{@status}, version = #{@version}" end |