Methods

Files

Hirb::Helpers::VerticalTable

Public Class Methods

render(rows, options={}) click to toggle source

Renders a vertical table using the same options as Hirb::Helpers::Table.render except for the ones below and :max_fields, :vertical and :max_width which aren't used.

Options:

:hide_empty

Boolean which hides empty values (nil or ") from being displayed. Default is false.

# File lib/hirb/helpers/vertical_table.rb, line 7
def self.render(rows, options={})
  new(rows, {:escape_special_chars=>false, :resize=>false}.merge(options)).render
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.