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.5.23 lib/onebox/layout_support.rb
onebox-1.5.22 lib/onebox/layout_support.rb
onebox-1.5.21 lib/onebox/layout_support.rb
onebox-1.5.20 lib/onebox/layout_support.rb
onebox-1.5.19 lib/onebox/layout_support.rb
onebox-1.5.18 lib/onebox/layout_support.rb
onebox-1.5.17 lib/onebox/layout_support.rb
onebox-1.5.16 lib/onebox/layout_support.rb
onebox-1.5.14 lib/onebox/layout_support.rb
onebox-1.5.13 lib/onebox/layout_support.rb
onebox-1.5.12 lib/onebox/layout_support.rb
onebox-1.5.11 lib/onebox/layout_support.rb
onebox-1.5.10 lib/onebox/layout_support.rb
onebox-1.5.9 lib/onebox/layout_support.rb
onebox-1.5.8 lib/onebox/layout_support.rb
onebox-1.5.7 lib/onebox/layout_support.rb
onebox-1.5.6 lib/onebox/layout_support.rb
onebox-1.5.5 lib/onebox/layout_support.rb
onebox-1.5.3 lib/onebox/layout_support.rb
onebox-1.5.2 lib/onebox/layout_support.rb