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.6.7 lib/onebox/layout_support.rb
onebox-1.6.6 lib/onebox/layout_support.rb
onebox-1.6.5 lib/onebox/layout_support.rb
onebox-1.6.4 lib/onebox/layout_support.rb
onebox-1.6.3 lib/onebox/layout_support.rb
onebox-1.6.2 lib/onebox/layout_support.rb
onebox-1.6.1 lib/onebox/layout_support.rb
onebox-1.6.0 lib/onebox/layout_support.rb
onebox-1.5.65 lib/onebox/layout_support.rb
onebox-1.5.64 lib/onebox/layout_support.rb
onebox-1.5.63 lib/onebox/layout_support.rb
onebox-1.5.62 lib/onebox/layout_support.rb
onebox-1.5.61 lib/onebox/layout_support.rb
onebox-1.5.60 lib/onebox/layout_support.rb
onebox-1.5.50 lib/onebox/layout_support.rb
onebox-1.5.49 lib/onebox/layout_support.rb
onebox-1.5.48 lib/onebox/layout_support.rb
onebox-1.5.47 lib/onebox/layout_support.rb
onebox-1.5.45 lib/onebox/layout_support.rb
onebox-1.5.44 lib/onebox/layout_support.rb