Sha256: 365790fae98c6b73e91cfda075bc0c2c8602f2a9a6c22eaa1ef1fe8ac81878b2
Contents?: true
Size: 385 Bytes
Versions: 25
Compression:
Stored size: 385 Bytes
Contents
class Card class Layout class UnknownLayout < Layout delegate :t, to: Cardio def render @format.output [header, text] end def header @format.content_tag :h1, t(:layout_unknown_layout, name: @layout) end def text t :layout_available_layouts, available_layouts: self.class.built_in_layouts end end end end
Version data entries
25 entries across 25 versions & 1 rubygems