Class: Data_List_Student_Short

Inherits:
Data_list show all
Defined in:
lib/files/Data_List_Student_Short.rb

Instance Attribute Summary collapse

Attributes inherited from Data_list

#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

#viewObject

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

#notifyObject



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