Sha256: 4d9601351d87c0342566b829157893f79e82f450166559f90d1c4c4fbff137c8

Contents?: true

Size: 442 Bytes

Versions: 7

Compression:

Stored size: 442 Bytes

Contents

module LatoCore

  class Elements::Modal::Cell < Cell

    @@requested_args = [:id, :render]

    @@default_args = {
      title: 'Modal'
    }

    def initialize(args = {})
      @args = validate_args(
        args: args,
        requested_args: @@requested_args,
        default_args: @@default_args
      )

      set_conditions
    end

    def show
      render 'show.html'
    end

    private

    def set_conditions; end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lato_core-2.2.2 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.2.0 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.1.4 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.1.3 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.1.2 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.1.1 app/cells/lato_core/elements/modal/cell.rb
lato_core-2.1 app/cells/lato_core/elements/modal/cell.rb