Sha256: 19ef1361c7d131fab4316d9d671d99d5de64d81d4c59758f2ff88cbbc593f8e7

Contents?: true

Size: 511 Bytes

Versions: 7

Compression:

Stored size: 511 Bytes

Contents

module LatoCore

  class Elements::Flash::Cell < Cell

    @@requested_args = [:message]

    @@default_args = {
      style: nil,
      close: false,
      id: nil
    }

    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
        # set conditional variables
      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/flash/cell.rb
lato_core-2.2.0 app/cells/lato_core/elements/flash/cell.rb
lato_core-2.1.4 app/cells/lato_core/elements/flash/cell.rb
lato_core-2.1.3 app/cells/lato_core/elements/flash/cell.rb
lato_core-2.1.2 app/cells/lato_core/elements/flash/cell.rb
lato_core-2.1.1 app/cells/lato_core/elements/flash/cell.rb
lato_core-2.1 app/cells/lato_core/elements/flash/cell.rb