Class: Dillo::View

Inherits:
Record show all
Defined in:
lib/dillo.rb

Instance Attribute Summary

Attributes inherited from Record

#attributes

Instance Method Summary collapse

Methods inherited from Record

#initialize, #method_missing, #respond_to?

Constructor Details

This class inherits a constructor from Dillo::Record

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Dillo::Record

Instance Method Details

#columnsObject



208
209
210
# File 'lib/dillo.rb', line 208

def columns
  @columns ||= Columns.new(id)
end

#inspectObject



216
217
218
# File 'lib/dillo.rb', line 216

def inspect
  super[0..-2] + " #{name.inspect}>"
end

#rowsObject



212
213
214
# File 'lib/dillo.rb', line 212

def rows
  @rows ||= Rows.new(id)
end