Sha256: b8402859403e2750a780f2d2c45d66a79790a707660c2a401b6e5a41ee6ba0ce

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

# frozen_string_literal: true

module Ruby2html
  module ComponentHelper
    def html(context, &block)
      Ruby2html::Render.new(context, &block).render.html_safe
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby2html-1.1.0 lib/gem/ruby2html/component_helper.rb
ruby2html-1.0.0 lib/gem/ruby2html/component_helper.rb