Class: Data_List_Student_Short
- Defined in:
- lib/files/Data_List_Student_Short.rb
Instance Attribute Summary collapse
-
#view ⇒ Object
Returns the value of attribute view.
Attributes inherited from Data_list
Instance Method Summary collapse
Methods inherited from Data_list
#get_data, #get_names, #get_selected, #initialize, #select, #unselect
Constructor Details
This class inherits a constructor from Data_list
Instance Attribute Details
#view ⇒ Object
Returns the value of attribute view.
5 6 7 |
# File 'lib/files/Data_List_Student_Short.rb', line 5 def view @view end |
Instance Method Details
#notify ⇒ Object
7 8 9 10 |
# File 'lib/files/Data_List_Student_Short.rb', line 7 def notify self.view.set_table_params(self.get_objects_attr_names.map{|x| x.to_s}, self.list.size) self.view.set_table_data(self.get_data) end |