Sha256: e571b84740c57775be0778b81baa4bb03a155b9fe7f0aaa2d095b2b1f72ca0ee

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        module Mixins
          module Event
            attr_reader :events
            def event(event, &block)
              @events ||= []
              @events << Components::Event.new(parent: self, event: event, &block)
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/dsl/components/mixins/event.rb
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/mixins/event.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/mixins/event.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/mixins/event.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/mixins/event.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/mixins/event.rb