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.48 lib/onebox/layout_support.rb
onebox-1.8.47 lib/onebox/layout_support.rb
onebox-1.8.46 lib/onebox/layout_support.rb
onebox-1.8.45 lib/onebox/layout_support.rb
onebox-1.8.44 lib/onebox/layout_support.rb
onebox-1.8.43 lib/onebox/layout_support.rb
onebox-1.8.42 lib/onebox/layout_support.rb
onebox-1.8.41 lib/onebox/layout_support.rb
onebox-1.8.40 lib/onebox/layout_support.rb
onebox-1.8.39 lib/onebox/layout_support.rb
onebox-1.8.38 lib/onebox/layout_support.rb
onebox-1.8.36 lib/onebox/layout_support.rb
onebox-1.8.35 lib/onebox/layout_support.rb
onebox-1.8.34 lib/onebox/layout_support.rb
onebox-1.8.33 lib/onebox/layout_support.rb
onebox-1.8.32 lib/onebox/layout_support.rb
onebox-1.8.31 lib/onebox/layout_support.rb
onebox-1.8.30 lib/onebox/layout_support.rb
onebox-1.8.29 lib/onebox/layout_support.rb
onebox-1.8.28 lib/onebox/layout_support.rb