Sha256: fd70b6c388f6e487480d9a4aef10caaac56ef49e11ac5a92c09a82b580180f2c
Contents?: true
Size: 252 Bytes
Versions: 6
Compression:
Stored size: 252 Bytes
Contents
module Ledge class RowHeading def initialize data content = JSON.parse data @heading_type = content["type"] @text = content["text"] end def render "<#{@heading_type}>#{@text}</#{@heading_type}>" end end end
Version data entries
6 entries across 6 versions & 1 rubygems