Sha256: 9bb106c6b57d40d568eddf9802b463cecd75e2d0e5d014c3afd3d6c08fe39547
Contents?: true
Size: 184 Bytes
Versions: 33
Compression:
Stored size: 184 Bytes
Contents
class Post attr_accessor :title def initialize(options={}) self.title = options[:title] || 'A Post' end # needed for field= to work def [](idx) send(idx) end end
Version data entries
33 entries across 33 versions & 1 rubygems