Class: GitTrend::Project
- Inherits:
-
Object
- Object
- GitTrend::Project
- Defined in:
- lib/git_trend/project.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#name ⇒ Object
Returns the value of attribute name.
-
#star_count ⇒ Object
Returns the value of attribute star_count.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/git_trend/project.rb', line 3 def description @description end |
#lang ⇒ Object
Returns the value of attribute lang.
3 4 5 |
# File 'lib/git_trend/project.rb', line 3 def lang @lang end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/git_trend/project.rb', line 3 def name @name end |
#star_count ⇒ Object
Returns the value of attribute star_count.
3 4 5 |
# File 'lib/git_trend/project.rb', line 3 def star_count @star_count end |
Instance Method Details
#to_a ⇒ Object
5 6 7 |
# File 'lib/git_trend/project.rb', line 5 def to_a [@name, @lang, @star_count.to_s] end |