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-2.2.19 lib/onebox/layout_support.rb
onebox-2.2.18 lib/onebox/layout_support.rb
onebox-2.2.17 lib/onebox/layout_support.rb
onebox-2.2.16 lib/onebox/layout_support.rb
onebox-2.2.15 lib/onebox/layout_support.rb
onebox-2.2.14 lib/onebox/layout_support.rb
onebox-2.2.13 lib/onebox/layout_support.rb
onebox-2.2.12 lib/onebox/layout_support.rb
onebox-2.2.11 lib/onebox/layout_support.rb
onebox-2.2.10 lib/onebox/layout_support.rb
onebox-2.2.9 lib/onebox/layout_support.rb
onebox-2.2.8 lib/onebox/layout_support.rb
onebox-2.2.6 lib/onebox/layout_support.rb
onebox-2.2.5 lib/onebox/layout_support.rb
onebox-2.2.4 lib/onebox/layout_support.rb
onebox-2.2.2 lib/onebox/layout_support.rb
onebox-2.2.1 lib/onebox/layout_support.rb
onebox-2.2.0 lib/onebox/layout_support.rb
onebox-2.1.9 lib/onebox/layout_support.rb
onebox-2.1.8 lib/onebox/layout_support.rb