Sha256: a8999359c9f7a80573af51230e32e0ad193dde4a1f33221934878fc72633375e

Contents?: true

Size: 258 Bytes

Versions: 31

Compression:

Stored size: 258 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, record, @cache)
    end

    def to_html
      layout.to_html
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
onebox-1.9.20 lib/onebox/layout_support.rb
onebox-1.9.19 lib/onebox/layout_support.rb
onebox-1.9.18 lib/onebox/layout_support.rb
onebox-1.9.17 lib/onebox/layout_support.rb
onebox-1.9.16 lib/onebox/layout_support.rb
onebox-1.9.15 lib/onebox/layout_support.rb
onebox-1.9.14 lib/onebox/layout_support.rb
onebox-1.9.13 lib/onebox/layout_support.rb
onebox-1.9.12 lib/onebox/layout_support.rb
onebox-1.9.11 lib/onebox/layout_support.rb
onebox-1.9.10 lib/onebox/layout_support.rb
onebox-1.9.9 lib/onebox/layout_support.rb
onebox-1.9.8 lib/onebox/layout_support.rb
onebox-1.9.7 lib/onebox/layout_support.rb
onebox-1.9.6 lib/onebox/layout_support.rb
onebox-1.9.5 lib/onebox/layout_support.rb
onebox-1.9.4 lib/onebox/layout_support.rb
onebox-1.9.3 lib/onebox/layout_support.rb
onebox-1.9.2 lib/onebox/layout_support.rb
onebox-1.9.1 lib/onebox/layout_support.rb