Sha256: 78cc48cf2ea0f33ddfa6a13b1329ebbbec5f75ba01096dfca4147fe4bdb9fca6
Contents?: true
Size: 439 Bytes
Versions: 14
Compression:
Stored size: 439 Bytes
Contents
require_relative '../event' module Voom module Presenters module DSL module Components module Mixins module Event attr_reader :events def event(event, **params, &block) @events ||= [] @events << Components::Event.new(parent: self, event: event, context: context&.merge(params), &block) end end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems