You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/app/presenters/analyze/slice/base.rb

18 lines
265 B

module Analyze
module Slice
class Base
attr_reader :graph, :label, :slug
def initialize(label:, slug:, graph:)
@label = label
@slug = slug
@graph = graph
end
def to_s
label
end
end
end
end