class SuperTable::Record
Public Class Methods
property(attr_name)
click to toggle source
# File lib/super_table/record.rb, line 10 def property(attr_name) def_delegator :model, attr_name end
Public Instance Methods
helpers()
click to toggle source
# File lib/super_table/record.rb, line 15 def helpers @helpers ||= Class.new do include ViewHelpers end.new end
Private Instance Methods
method_missing(method, *args, &block)
click to toggle source
# File lib/super_table/record.rb, line 27 def method_missing(method, *args, &block) model.send(method, *args, &block) end
respond_to_missing?(name, include_private = false)
click to toggle source
# File lib/super_table/record.rb, line 23 def respond_to_missing?(name, include_private = false) model.respond_to?(name, include_private) end