Sha256: 4348a3aa21362e3580cdbed6361482aeae38080660481a120906a8a493c4cdb3

Contents?: true

Size: 248 Bytes

Versions: 46

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module Onebox
  module LayoutSupport

    def self.max_text
      500
    end

    def layout
      @layout ||= Layout.new(self.class.onebox_name, data)
    end

    def to_html
      layout.to_html
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
onebox-1.9.26 lib/onebox/layout_support.rb
onebox-1.9.25 lib/onebox/layout_support.rb
onebox-1.9.24 lib/onebox/layout_support.rb
onebox-1.9.23 lib/onebox/layout_support.rb
onebox-1.9.22 lib/onebox/layout_support.rb
onebox-1.9.21 lib/onebox/layout_support.rb