Sha256: 42a54d67cbb1c63e781174f025613de46f4531e631083103eeaa1bd1c1c5bbb4

Contents?: true

Size: 227 Bytes

Versions: 191

Compression:

Stored size: 227 Bytes

Contents

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

191 entries across 191 versions & 1 rubygems

Version Path
onebox-1.8.69 lib/onebox/layout_support.rb
onebox-1.8.68 lib/onebox/layout_support.rb
onebox-1.8.67 lib/onebox/layout_support.rb
onebox-1.8.66 lib/onebox/layout_support.rb
onebox-1.8.65 lib/onebox/layout_support.rb
onebox-1.8.64 lib/onebox/layout_support.rb
onebox-1.8.63 lib/onebox/layout_support.rb
onebox-1.8.62 lib/onebox/layout_support.rb
onebox-1.8.61 lib/onebox/layout_support.rb
onebox-1.8.60 lib/onebox/layout_support.rb
onebox-1.8.59 lib/onebox/layout_support.rb
onebox-1.8.58 lib/onebox/layout_support.rb
onebox-1.8.57 lib/onebox/layout_support.rb
onebox-1.8.55 lib/onebox/layout_support.rb
onebox-1.8.54 lib/onebox/layout_support.rb
onebox-1.8.53 lib/onebox/layout_support.rb
onebox-1.8.52 lib/onebox/layout_support.rb
onebox-1.8.51 lib/onebox/layout_support.rb
onebox-1.8.50 lib/onebox/layout_support.rb
onebox-1.8.49 lib/onebox/layout_support.rb