class Factbook::Field
Attributes
data[RW]
title[R]
Public Class Methods
new( title )
click to toggle source
# File lib/factbook-fields/field.rb, line 12 def initialize( title ) @title = title @data = {} end
Public Instance Methods
[](key)
click to toggle source
# File lib/factbook-fields/field.rb, line 17 def [](key) ### convenience shortcut @data[ key ] end