class FlickrOfflineGallery::PhotosetIndexPage

Public Class Methods

new(photoset) click to toggle source
Calls superclass method
# File lib/flickr_offline_gallery/photoset_index_page.rb, line 4
def initialize(photoset)
  @photoset = photoset
  super("photoset")
end

Public Instance Methods

render() click to toggle source
# File lib/flickr_offline_gallery/photoset_index_page.rb, line 9
def render
  render_erb(:photoset => @photoset, :photos => @photoset.photos, :size => "medium")
end
write() click to toggle source
# File lib/flickr_offline_gallery/photoset_index_page.rb, line 13
def write
  write_file(@photoset.index_page_filename)
end