Module: Ruflet::DSL

Defined in:
lib/ruflet_ui/ruflet/dsl.rb

Defined Under Namespace

Classes: App

Constant Summary collapse

DURATION_FACTORS_MS =
{
  days: 86_400_000.0,
  hours: 3_600_000.0,
  minutes: 60_000.0,
  seconds: 1_000.0,
  milliseconds: 1.0,
  microseconds: 0.001
}.freeze

Class Method Summary collapse

Class Method Details

._pending_appObject



29
30
31
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 29

def _pending_app
  @_pending_app ||= App.new(host: default_host, port: default_port)
end

._reset_pending_app!Object



33
34
35
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 33

def _reset_pending_app!
  @_pending_app = App.new(host: default_host, port: default_port)
end

.alert_dialog(**props) ⇒ Object



84
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 84

def alert_dialog(**props) = _pending_app.alert_dialog(**props)

.alertdialog(**props) ⇒ Object



85
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 85

def alertdialog(**props) = _pending_app.alertdialog(**props)

.app(host: nil, port: nil, &block) ⇒ Object



37
38
39
40
41
42
43
44
45
46
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 37

def app(host: nil, port: nil, &block)
  host ||= default_host
  port ||= default_port
  return App.new(host: host, port: port).tap { |a| a.instance_eval(&block) } if block

  pending = _pending_app
  pending.set_endpoint!(host: host, port: port)
  _reset_pending_app!
  pending
end

.app_bar(**props) ⇒ Object



73
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 73

def app_bar(**props) = _pending_app.app_bar(**props)

.appbar(**props) ⇒ Object



74
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 74

def appbar(**props) = _pending_app.appbar(**props)

.bar_chart(**props) ⇒ Object



103
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 103

def bar_chart(**props) = _pending_app.bar_chart(**props)

.bar_chart_group(**props) ⇒ Object



105
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 105

def bar_chart_group(**props) = _pending_app.bar_chart_group(**props)

.bar_chart_rod(**props) ⇒ Object



107
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 107

def bar_chart_rod(**props) = _pending_app.bar_chart_rod(**props)

.bar_chart_rod_stack_item(**props) ⇒ Object



109
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 109

def bar_chart_rod_stack_item(**props) = _pending_app.bar_chart_rod_stack_item(**props)

.barchart(**props) ⇒ Object



104
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 104

def barchart(**props) = _pending_app.barchart(**props)

.barchartgroup(**props) ⇒ Object



106
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 106

def barchartgroup(**props) = _pending_app.barchartgroup(**props)

.barchartrod(**props) ⇒ Object



108
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 108

def barchartrod(**props) = _pending_app.barchartrod(**props)

.barchartrodstackitem(**props) ⇒ Object



110
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 110

def barchartrodstackitem(**props) = _pending_app.barchartrodstackitem(**props)

.bottom_sheet(**props) ⇒ Object



88
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 88

def bottom_sheet(**props) = _pending_app.bottom_sheet(**props)

.bottomsheet(**props) ⇒ Object



89
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 89

def bottomsheet(**props) = _pending_app.bottomsheet(**props)

.button(**props) ⇒ Object



65
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 65

def button(**props) = _pending_app.button(**props)

.candlestick_chart(**props) ⇒ Object



121
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 121

def candlestick_chart(**props) = _pending_app.candlestick_chart(**props)

.candlestick_chart_spot(**props) ⇒ Object



123
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 123

def candlestick_chart_spot(**props) = _pending_app.candlestick_chart_spot(**props)

.candlestickchart(**props) ⇒ Object



122
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 122

def candlestickchart(**props) = _pending_app.candlestickchart(**props)

.candlestickchartspot(**props) ⇒ Object



124
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 124

def candlestickchartspot(**props) = _pending_app.candlestickchartspot(**props)

.center(**props, &block) ⇒ Object



53
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 53

def center(**props, &block) = _pending_app.center(**props, &block)

.chart_axis(**props) ⇒ Object



137
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 137

def chart_axis(**props) = _pending_app.chart_axis(**props)

.chart_axis_label(**props) ⇒ Object



139
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 139

def chart_axis_label(**props) = _pending_app.chart_axis_label(**props)

.chartaxis(**props) ⇒ Object



138
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 138

def chartaxis(**props) = _pending_app.chartaxis(**props)

.chartaxislabel(**props) ⇒ Object



140
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 140

def chartaxislabel(**props) = _pending_app.chartaxislabel(**props)

.checkbox(**props) ⇒ Object



80
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 80

def checkbox(**props) = _pending_app.checkbox(**props)

.clipboard(**props) ⇒ Object



75
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 75

def clipboard(**props) = _pending_app.clipboard(**props)

.column(**props, &block) ⇒ Object



52
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 52

def column(**props, &block) = _pending_app.column(**props, &block)

.container(**props, &block) ⇒ Object



58
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 58

def container(**props, &block) = _pending_app.container(**props, &block)

.control(type, **props, &block) ⇒ Object



49
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 49

def control(type, **props, &block) = _pending_app.control(type, **props, &block)

.cupertino_action_sheet(**props) ⇒ Object



156
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 156

def cupertino_action_sheet(**props) = _pending_app.cupertino_action_sheet(**props)

.cupertino_alert_dialog(**props) ⇒ Object



154
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 154

def cupertino_alert_dialog(**props) = _pending_app.cupertino_alert_dialog(**props)

.cupertino_button(**props) ⇒ Object



144
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 144

def cupertino_button(**props) = _pending_app.cupertino_button(**props)

.cupertino_dialog_action(**props) ⇒ Object



158
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 158

def cupertino_dialog_action(**props) = _pending_app.cupertino_dialog_action(**props)

.cupertino_filled_button(**props) ⇒ Object



146
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 146

def cupertino_filled_button(**props) = _pending_app.cupertino_filled_button(**props)

.cupertino_navigation_bar(**props) ⇒ Object



160
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 160

def cupertino_navigation_bar(**props) = _pending_app.cupertino_navigation_bar(**props)

.cupertino_slider(**props) ⇒ Object



152
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 152

def cupertino_slider(**props) = _pending_app.cupertino_slider(**props)

.cupertino_switch(**props) ⇒ Object



150
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 150

def cupertino_switch(**props) = _pending_app.cupertino_switch(**props)

.cupertino_text_field(**props) ⇒ Object



148
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 148

def cupertino_text_field(**props) = _pending_app.cupertino_text_field(**props)

.cupertinoactionsheet(**props) ⇒ Object



157
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 157

def cupertinoactionsheet(**props) = _pending_app.cupertinoactionsheet(**props)

.cupertinoalertdialog(**props) ⇒ Object



155
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 155

def cupertinoalertdialog(**props) = _pending_app.cupertinoalertdialog(**props)

.cupertinobutton(**props) ⇒ Object



145
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 145

def cupertinobutton(**props) = _pending_app.cupertinobutton(**props)

.cupertinodialogaction(**props) ⇒ Object



159
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 159

def cupertinodialogaction(**props) = _pending_app.cupertinodialogaction(**props)

.cupertinofilledbutton(**props) ⇒ Object



147
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 147

def cupertinofilledbutton(**props) = _pending_app.cupertinofilledbutton(**props)

.cupertinonavigationbar(**props) ⇒ Object



161
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 161

def cupertinonavigationbar(**props) = _pending_app.cupertinonavigationbar(**props)

.cupertinoslider(**props) ⇒ Object



153
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 153

def cupertinoslider(**props) = _pending_app.cupertinoslider(**props)

.cupertinoswitch(**props) ⇒ Object



151
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 151

def cupertinoswitch(**props) = _pending_app.cupertinoswitch(**props)

.cupertinotextfield(**props) ⇒ Object



149
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 149

def cupertinotextfield(**props) = _pending_app.cupertinotextfield(**props)

.default_hostObject



19
20
21
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 19

def default_host
  ENV["RUFLET_HOST"].to_s.strip.empty? ? "0.0.0.0" : ENV["RUFLET_HOST"].to_s
end

.default_portObject



23
24
25
26
27
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 23

def default_port
  raw = ENV["RUFLET_PORT"].to_s
  value = raw.to_i
  value > 0 ? value : 8550
end

.drag_target(**props, &block) ⇒ Object



62
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 62

def drag_target(**props, &block) = _pending_app.drag_target(**props, &block)

.draggable(**props, &block) ⇒ Object



61
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 61

def draggable(**props, &block) = _pending_app.draggable(**props, &block)

.dragtarget(**props, &block) ⇒ Object



63
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 63

def dragtarget(**props, &block) = _pending_app.dragtarget(**props, &block)

.duration(**parts) ⇒ Object



162
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 162

def duration(**parts) = duration_in_milliseconds(parts)

.duration_in_milliseconds(parts) ⇒ Object



274
275
276
277
278
279
280
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 274

def duration_in_milliseconds(parts)
  return 0 if parts.nil? || parts.empty?

  DURATION_FACTORS_MS.reduce(0.0) do |sum, (key, factor)|
    sum + read_duration_part(parts, key) * factor
  end.round
end

.elevated_button(**props) ⇒ Object



66
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 66

def elevated_button(**props) = _pending_app.elevated_button(**props)

.fab(content = nil, **props) ⇒ Object



143
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 143

def fab(content = nil, **props) = _pending_app.fab(content, **props)

.filled_button(**props) ⇒ Object



78
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 78

def filled_button(**props) = _pending_app.filled_button(**props)

.filledbutton(**props) ⇒ Object



79
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 79

def filledbutton(**props) = _pending_app.filledbutton(**props)

.floating_action_button(**props) ⇒ Object



91
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 91

def floating_action_button(**props) = _pending_app.floating_action_button(**props)

.floatingactionbutton(**props) ⇒ Object



92
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 92

def floatingactionbutton(**props) = _pending_app.floatingactionbutton(**props)

.gesture_detector(**props, &block) ⇒ Object



59
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 59

def gesture_detector(**props, &block) = _pending_app.gesture_detector(**props, &block)

.gesturedetector(**props, &block) ⇒ Object



60
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 60

def gesturedetector(**props, &block) = _pending_app.gesturedetector(**props, &block)

.grid_view(**props, &block) ⇒ Object



56
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 56

def grid_view(**props, &block) = _pending_app.grid_view(**props, &block)

.gridview(**props, &block) ⇒ Object



57
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 57

def gridview(**props, &block) = _pending_app.gridview(**props, &block)

.icon(**props) ⇒ Object



69
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 69

def icon(**props) = _pending_app.icon(**props)

.icon_button(**props) ⇒ Object



71
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 71

def icon_button(**props) = _pending_app.icon_button(**props)

.iconbutton(**props) ⇒ Object



72
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 72

def iconbutton(**props) = _pending_app.iconbutton(**props)

.image(src = nil, **props) ⇒ Object



70
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 70

def image(src = nil, **props) = _pending_app.image(src, **props)

.line_chart(**props) ⇒ Object



111
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 111

def line_chart(**props) = _pending_app.line_chart(**props)

.line_chart_data(**props) ⇒ Object



113
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 113

def line_chart_data(**props) = _pending_app.line_chart_data(**props)

.line_chart_data_point(**props) ⇒ Object



115
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 115

def line_chart_data_point(**props) = _pending_app.line_chart_data_point(**props)

.linechart(**props) ⇒ Object



112
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 112

def linechart(**props) = _pending_app.linechart(**props)

.linechartdata(**props) ⇒ Object



114
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 114

def linechartdata(**props) = _pending_app.linechartdata(**props)

.linechartdatapoint(**props) ⇒ Object



116
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 116

def linechartdatapoint(**props) = _pending_app.linechartdatapoint(**props)

.markdown(value = nil, **props) ⇒ Object



90
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 90

def markdown(value = nil, **props) = _pending_app.markdown(value, **props)


99
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 99

def navigation_bar(**props, &block) = _pending_app.navigation_bar(**props, &block)


101
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 101

def navigation_bar_destination(**props, &block) = _pending_app.navigation_bar_destination(**props, &block)


100
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 100

def navigationbar(**props, &block) = _pending_app.navigationbar(**props, &block)


102
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 102

def navigationbardestination(**props, &block) = _pending_app.navigationbardestination(**props, &block)

.page(**props, &block) ⇒ Object



48
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 48

def page(**props, &block) = _pending_app.page(**props, &block)

.pie_chart(**props) ⇒ Object



117
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 117

def pie_chart(**props) = _pending_app.pie_chart(**props)

.pie_chart_section(**props) ⇒ Object



119
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 119

def pie_chart_section(**props) = _pending_app.pie_chart_section(**props)

.piechart(**props) ⇒ Object



118
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 118

def piechart(**props) = _pending_app.piechart(**props)

.piechartsection(**props) ⇒ Object



120
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 120

def piechartsection(**props) = _pending_app.piechartsection(**props)

.radar_chart(**props) ⇒ Object



125
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 125

def radar_chart(**props) = _pending_app.radar_chart(**props)

.radar_chart_title(**props) ⇒ Object



127
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 127

def radar_chart_title(**props) = _pending_app.radar_chart_title(**props)

.radar_data_set(**props) ⇒ Object



129
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 129

def radar_data_set(**props) = _pending_app.radar_data_set(**props)

.radar_data_set_entry(**props) ⇒ Object



131
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 131

def radar_data_set_entry(**props) = _pending_app.radar_data_set_entry(**props)

.radarchart(**props) ⇒ Object



126
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 126

def radarchart(**props) = _pending_app.radarchart(**props)

.radarcharttitle(**props) ⇒ Object



128
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 128

def radarcharttitle(**props) = _pending_app.radarcharttitle(**props)

.radardataset(**props) ⇒ Object



130
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 130

def radardataset(**props) = _pending_app.radardataset(**props)

.radardatasetentry(**props) ⇒ Object



132
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 132

def radardatasetentry(**props) = _pending_app.radardatasetentry(**props)

.radio(**props) ⇒ Object



81
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 81

def radio(**props) = _pending_app.radio(**props)

.radio_group(**props) ⇒ Object



82
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 82

def radio_group(**props) = _pending_app.radio_group(**props)

.radiogroup(**props) ⇒ Object



83
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 83

def radiogroup(**props) = _pending_app.radiogroup(**props)

.read_duration_part(parts, key) ⇒ Object



282
283
284
285
286
287
288
289
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 282

def read_duration_part(parts, key)
  raw = parts[key] || parts[key.to_s]
  return 0.0 if raw.nil?
  return raw.to_f if raw.is_a?(Numeric)
  return raw.to_f if raw.is_a?(String) && raw.match?(/\A-?\d+(\.\d+)?\z/)

  0.0
end

.row(**props, &block) ⇒ Object



54
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 54

def row(**props, &block) = _pending_app.row(**props, &block)

.scatter_chart(**props) ⇒ Object



133
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 133

def scatter_chart(**props) = _pending_app.scatter_chart(**props)

.scatter_chart_spot(**props) ⇒ Object



135
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 135

def scatter_chart_spot(**props) = _pending_app.scatter_chart_spot(**props)

.scatterchart(**props) ⇒ Object



134
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 134

def scatterchart(**props) = _pending_app.scatterchart(**props)

.scatterchartspot(**props) ⇒ Object



136
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 136

def scatterchartspot(**props) = _pending_app.scatterchartspot(**props)

.service(type, **props, &block) ⇒ Object



51
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 51

def service(type, **props, &block) = _pending_app.service(type, **props, &block)

.snack_bar(**props) ⇒ Object



86
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 86

def snack_bar(**props) = _pending_app.snack_bar(**props)

.snackbar(**props) ⇒ Object



87
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 87

def snackbar(**props) = _pending_app.snackbar(**props)

.stack(**props, &block) ⇒ Object



55
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 55

def stack(**props, &block) = _pending_app.stack(**props, &block)

.tab(**props, &block) ⇒ Object



94
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 94

def tab(**props, &block) = _pending_app.tab(**props, &block)

.tab_bar(**props, &block) ⇒ Object



95
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 95

def tab_bar(**props, &block) = _pending_app.tab_bar(**props, &block)

.tab_bar_view(**props, &block) ⇒ Object



97
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 97

def tab_bar_view(**props, &block) = _pending_app.tab_bar_view(**props, &block)

.tabbar(**props, &block) ⇒ Object



96
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 96

def tabbar(**props, &block) = _pending_app.tabbar(**props, &block)

.tabbarview(**props, &block) ⇒ Object



98
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 98

def tabbarview(**props, &block) = _pending_app.tabbarview(**props, &block)

.tabs(**props, &block) ⇒ Object



93
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 93

def tabs(**props, &block) = _pending_app.tabs(**props, &block)

.text(value = nil, **props) ⇒ Object



64
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 64

def text(value = nil, **props) = _pending_app.text(value, **props)

.text_button(**props) ⇒ Object



76
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 76

def text_button(**props) = _pending_app.text_button(**props)

.text_field(**props) ⇒ Object



67
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 67

def text_field(**props) = _pending_app.text_field(**props)

.textbutton(**props) ⇒ Object



77
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 77

def textbutton(**props) = _pending_app.textbutton(**props)

.textfield(**props) ⇒ Object



68
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 68

def textfield(**props) = _pending_app.textfield(**props)

.web_view(**props) ⇒ Object



141
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 141

def web_view(**props) = _pending_app.web_view(**props)

.webview(**props) ⇒ Object



142
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 142

def webview(**props) = _pending_app.webview(**props)

.widget(type, **props, &block) ⇒ Object



50
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 50

def widget(type, **props, &block) = _pending_app.widget(type, **props, &block)