Class: RubyLabs::HashLab::TableView

Inherits:
Struct
  • Object
show all
Defined in:
lib/hashlab.rb

Overview

When a hash table is drawn on the screen the drawing attribute is set to a TableView struct that describes the drawing.

Instance Attribute Summary collapse

Instance Attribute Details

#bucketsObject

Returns the value of attribute buckets

Returns:

  • (Object)

    the current value of buckets



20
21
22
# File 'lib/hashlab.rb', line 20

def buckets
  @buckets
end

#cellsObject

Returns the value of attribute cells

Returns:

  • (Object)

    the current value of cells



20
21
22
# File 'lib/hashlab.rb', line 20

def cells
  @cells
end

#nrowsObject

Returns the value of attribute nrows

Returns:

  • (Object)

    the current value of nrows



20
21
22
# File 'lib/hashlab.rb', line 20

def nrows
  @nrows
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



20
21
22
# File 'lib/hashlab.rb', line 20

def options
  @options
end