Sha256: 279a504d1cfd68573b246e06ee18909977688d89af4e45b8646d6cbf433f42b2

Contents?: true

Size: 352 Bytes

Versions: 15

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true
require_relative '../../app/helpers/ui_components/view_helper'

module UiComponents
  class Cell < ::Cell::ViewModel
    include UiComponents::ViewHelper
    include CellAttributes
    include DocuCop

    view_paths << Engine.root.join('app', 'cells')

    def show
      render(self.class.name.to_sym)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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