Method: Anoubis::Etc::Data#initialize
- Defined in:
- app/controllers/anoubis/etc/data.rb
#initialize(options = {}) ⇒ Data
Sets default basic system parameters
49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'app/controllers/anoubis/etc/data.rb', line 49 def initialize( = {}) self.data = nil self.fields = nil self.actions = nil self.parent = nil self.model = nil self.count = 0 self.eager_load = [] self.limit = 10 self.offset = 0 self.filter = nil end |