Sha256: 2f666f3364ab6a40d9e63e3bddc6d40b75dd511e779ab6808a7eb2201f1de377
Contents?: true
Size: 314 Bytes
Versions: 46
Compression:
Stored size: 314 Bytes
Contents
class MyPresenter def self.for :quote end def initialize(attributes, content, additional_attributes) @content = content @additional_attributes = additional_attributes end def content @content end def attributes @additional_attributes || { title: "my custom title" } end end
Version data entries
46 entries across 46 versions & 2 rubygems