Class: Glib::JsonUi::ViewBuilder::ProgressBar

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

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from View

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

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

Instance Method Details

#createObject



320
321
322
323
324
# File 'app/helpers/glib/json_ui/view_builder.rb', line 320

def create
  @rounded = true if @rounded.nil?

  json.rounded @rounded
end

#rounded(value) ⇒ Object



316
317
318
# File 'app/helpers/glib/json_ui/view_builder.rb', line 316

def rounded(value)
  @rounded = value
end