Sha256: d09836ee1c96ade06418602d7083abe1f95af08f001ccf980cafa09f556a7b89

Contents?: true

Size: 179 Bytes

Versions: 15

Compression:

Stored size: 179 Bytes

Contents

# frozen_string_literal: true
module UiComponents
  module ViewHelper
    def ui_component(name, options = {})
      cell(name.to_sym, nil, options).call(:show)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ad2games-ui_components-2.3.0 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.1.0 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.14 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.12 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.11 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.10 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.9 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.8 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.7 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.5 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.4 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.3 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.2 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.1 app/helpers/ui_components/view_helper.rb
ad2games-ui_components-2.0.0 app/helpers/ui_components/view_helper.rb