class Gish::Label
Public Class Methods
new(github_label)
click to toggle source
# File lib/gish/presentation/label.rb, line 3 def initialize(github_label) @name = github_label.name @color = github_label.color end
Public Instance Methods
to_s()
click to toggle source
# File lib/gish/presentation/label.rb, line 8 def to_s "#{@color} #{@name}" end