class S3Secure::Table
Attributes
data[R]
Public Class Methods
new(options, data)
click to toggle source
# File lib/s3_secure/table.rb, line 6 def initialize(options, data) @options = options @data = data end
Public Instance Methods
display()
click to toggle source
# File lib/s3_secure/table.rb, line 11 def display table = Text::Table.new table.head = data.shift table.rows = data puts table end