Class: Protos::Stats::Figure

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/stats/figure.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: A figure for a single stat



8
9
10
# File 'lib/protos/stats/figure.rb', line 8

def view_template(&)
  div(**attrs, &)
end