Sha256: 3482a923f2cafa730ecb0c174241db591e0a8ecd28b4c4f1518f1f5740359a3f
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 Bytes
Contents
module GitTrend class Project attr_accessor :name, :description, :lang, :star_count, :fork_count def initialize(name: "", description: "", lang: "", star_count: 0, fork_count: 0) self.name = name self.description = description self.lang = lang self.star_count = star_count self.fork_count = fork_count end def to_a [@name, @lang, @star_count.to_s] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
git-trend-1.1.1 | lib/git_trend/project.rb |
git-trend-1.1.0 | lib/git_trend/project.rb |