Sha256: 0d1ae555288b2f887fa392529160d8ca15616be16f291e5d51d0dd352b6757b0
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true require 'hs/preview/element_preview' module HS class Text include ElementPreview attr_accessor :text def initialize(args) args.each do |key, val| instance_variable_set("@#{key}", val) end end def preview text_preview(text) end def preview_raw text end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hs-cli-0.3.3 | lib/hs/elements/text.rb |
hs-cli-0.3.2 | lib/hs/elements/text.rb |