Sha256: 4ce6633c47ff5652411b71e0c310d2ee465267ab7412e5f1272e319eabae9168
Contents?: true
Size: 489 Bytes
Versions: 6
Compression:
Stored size: 489 Bytes
Contents
require 'voom/presenters/dsl/components/event_base' module Voom module Presenters module Plugins module <%= classify(name) %> class <%= classify(name) %>Component < DSL::Components::EventBase attr_reader :random_fact def initialize(random_fact, **attribs_, &block) @random_fact = random_fact super(type: :<%= underscore(name) %>, **attribs_, &block) expand! end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems