Class: Glib::JsonUi::ActionBuilder::BottomBanners::Open

Inherits:
Action show all
Defined in:
app/helpers/glib/json_ui/action_builder/bottom_banners.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

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

Instance Method Details

#newView(block) ⇒ Object



4
5
6
7
8
# File 'app/helpers/glib/json_ui/action_builder/bottom_banners.rb', line 4

def newView(block)
  json.newView do
    block.call(page.sview_builder)
  end
end