Class: ObjectTable::Group
- Inherits:
-
StaticView
- Object
- StaticView
- ObjectTable::Group
- Defined in:
- lib/object_table/grouping.rb
Constant Summary
Constants included from TableMethods
Instance Attribute Summary collapse
-
#K ⇒ Object
readonly
Returns the value of attribute K.
Attributes inherited from StaticView
Attributes included from TableMethods
Instance Method Summary collapse
-
#initialize(parent, keys, value) ⇒ Group
constructor
A new instance of Group.
Methods inherited from StaticView
#add_column, #columns, #get_column
Methods included from ViewMethods
#add_column, #columns, #get_column, #nrows, #pop_column
Methods included from TableMethods
#==, #_get_sort_index, #apply, #clone, #each_row, #group_by, #method_missing, #ncols, #nrows, #respond_to?, #set_column, #sort_by, #where
Methods included from Stacking
process_stackable_grid, #stack, stack_segments
Methods included from Joining
Methods included from Printing
calc_column_widths, format_column, format_rows, format_section, #inspect, split_column_lines
Constructor Details
#initialize(parent, keys, value) ⇒ Group
Returns a new instance of Group.
9 10 11 12 |
# File 'lib/object_table/grouping.rb', line 9 def initialize(parent, keys, value) super(parent, value) @K = keys end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ObjectTable::TableMethods
Instance Attribute Details
#K ⇒ Object (readonly)
Returns the value of attribute K.
8 9 10 |
# File 'lib/object_table/grouping.rb', line 8 def K @K end |