Sha256: 58b4e0106d88840ff581804f20a2aef466968a5a84afe5cdb755723a05825730
Contents?: true
Size: 589 Bytes
Versions: 30
Compression:
Stored size: 589 Bytes
Contents
# -*- encoding : utf-8 -*- class Hirb::Helpers::UnicodeTable < Hirb::Helpers::Table CHARS = { :top => {:left => '┌', :center => '┬', :right => '┐', :horizontal => '─', :vertical => {:outside => '│', :inside => '│'} }, :middle => {:left => '├', :center => '┼', :right => '┤', :horizontal => '─'}, :bottom => {:left => '└', :center => '┴', :right => '┘', :horizontal => '─', :vertical => {:outside => '│', :inside => '╎'} } } # Renders a unicode table def self.render(rows, options={}) new(rows, options).render end end
Version data entries
30 entries across 29 versions & 4 rubygems