class ReVIEW::Book::ImageIndex

Attributes

image_finder[R]

Public Class Methods

item_type() click to toggle source
# File lib/review/book/index.rb, line 132
def self.item_type
  '(image|graph|imgtable)'
end
new(chapter) click to toggle source
Calls superclass method ReVIEW::Book::Index::new
# File lib/review/book/index.rb, line 138
def initialize(chapter)
  super()
  @chapter = chapter
  @image_finder = ReVIEW::Book::ImageFinder.new(@chapter)
end

Public Instance Methods

find_path(id) click to toggle source
# File lib/review/book/index.rb, line 144
def find_path(id)
  @image_finder.find_path(id)
end