Sha256: e271911782cc0196c8ce1b72f4f68490ba527504515604774ef35b4397c579bc
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
class MultiplePresenter def self.for %i[quote item] end def initialize(_attributes, content, additional_attributes) @content = content @additional_attributes = additional_attributes end attr_reader :content def attributes @additional_attributes || { title: "my custom title" } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shortcode-2.0.0 | spec/support/presenters/multiple_presenter.rb |
shortcode-2.0.0.pre | spec/support/presenters/multiple_presenter.rb |