Class: Glib::JsonUi::ViewBuilder::Charts::Column

Inherits:
View show all
Includes:
ReleaseDateIndicator
Defined in:
app/helpers/glib/json_ui/view_builder/charts.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods included from ReleaseDateIndicator

#lineVertical

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement

Instance Method Details

#dataGroups(blocks) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'app/helpers/glib/json_ui/view_builder/charts.rb', line 37

def dataGroups(blocks)
  json.dataGroups do
    blocks.each do |block|
      json.child! do
        block.call
      end
    end
  end
end