Sha256: 438153b7f345032a4c1525eea31f5f6a4eed7a686542c6ca06469fb09a6314df
Contents?: true
Size: 343 Bytes
Versions: 4
Compression:
Stored size: 343 Bytes
Contents
module RGallery class PhotoConfig attr_writer :photo_class attr_reader :options def initialize options = {} options ||= {} @options = options @photo_class = options[:photo_class] if options[:photo_class] end protected def photo_class @photo_class ||= RGallery::Photo end end end
Version data entries
4 entries across 4 versions & 1 rubygems