Sha256: b7e7ad59aabf91d52a1de82fec951f6ea81575610f26d57930ebe29d92f853a5

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

# For testing, we'll store all events into an array
Lena.class.send(:cattr_accessor, :events)
Lena.events = []

Lena.setup do |config|
  config.javascript_handler = Proc.new do |params|
    Lena.events << params
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lena-0.0.1 spec/dummy/config/initializers/lena.rb