Class: Glib::JsonUi::ViewBuilder::Charts::Line
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Charts::Line
- Includes:
- ReleaseDateIndicator
- Defined in:
- app/helpers/glib/json_ui/view_builder/charts.rb
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods included from ReleaseDateIndicator
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#dataSeries(blocks) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'app/helpers/glib/json_ui/view_builder/charts.rb', line 20 def dataSeries(blocks) json.dataSeries do blocks.each do |block| json.child! do block.call end end end end |