class Presentation::Details
TODO: abstract what’s common between Record and Grid
into a shared module or reusable objects or something
Attributes
title[RW]
The display title for this presentation. Will default based on the id.
Public Instance Methods
fields()
click to toggle source
# File lib/presentation/details.rb, line 17 def fields @fields ||= Presenting::FieldSet.new(Presenting::Attribute, :name, :value) end
fields=(args)
click to toggle source
# File lib/presentation/details.rb, line 11 def fields=(args) args.each do |field| self.fields << field end end
iname()
click to toggle source
# File lib/presentation/details.rb, line 6 def iname; :details end