Sha256: 0ab931b6f3270ba3bd77d20b0d8e7ea3e8091363c9fd2a37d6e4ba9bb719101c
Contents?: true
Size: 656 Bytes
Versions: 14
Compression:
Stored size: 656 Bytes
Contents
module GitTrend class Project attr_accessor :name, :description, :lang, :all_star_count, :fork_count, :star_count def initialize(name: "", description: "", lang: "", all_star_count: 0, fork_count: 0, star_count: 0) self.name = name self.description = description self.lang = lang self.all_star_count = all_star_count self.fork_count = fork_count self.star_count = star_count end def to_h { name: name, description: description, lang: lang, all_star_count: all_star_count, fork_count: fork_count, star_count: star_count, } end end end
Version data entries
14 entries across 14 versions & 1 rubygems