Sha256: 94150a8a2ff34ee5433c96ca8b5b5fa40e8a55f41935ab951135358fba120a26

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

module EveExtension
  def new(params, &bloc)
    if params[:page]
      alert "alert salut"
    elsif params[:application]
      box({ left: 0, right: 0, width: :auto, top: 0, bottom: 0, height: :auto, id: :toto })
    elsif params[:master]

    end
    super if defined?(super)
  end
end

class Object
  include EveExtension # Ajoutez d'abord les extensions de base
end

puts 'eVe ready'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atome-0.5.6.2.5 lib/eVe/lib/init.rb