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.89 lib/onebox/layout_support.rb
onebox-1.8.88 lib/onebox/layout_support.rb
onebox-1.8.87 lib/onebox/layout_support.rb
onebox-1.8.86 lib/onebox/layout_support.rb
onebox-1.8.85 lib/onebox/layout_support.rb
onebox-1.8.84 lib/onebox/layout_support.rb
onebox-1.8.83 lib/onebox/layout_support.rb
onebox-1.8.82 lib/onebox/layout_support.rb
onebox-1.8.81 lib/onebox/layout_support.rb
onebox-1.8.80 lib/onebox/layout_support.rb
onebox-1.8.79 lib/onebox/layout_support.rb
onebox-1.8.78 lib/onebox/layout_support.rb
onebox-1.8.77 lib/onebox/layout_support.rb
onebox-1.8.76 lib/onebox/layout_support.rb
onebox-1.8.75 lib/onebox/layout_support.rb
onebox-1.8.74 lib/onebox/layout_support.rb
onebox-1.8.73 lib/onebox/layout_support.rb
onebox-1.8.72 lib/onebox/layout_support.rb
onebox-1.8.71 lib/onebox/layout_support.rb
onebox-1.8.70 lib/onebox/layout_support.rb