Class: PagesTester23

Inherits:
MyMediaPages show all
Includes:
PagesTestSetup
Defined in:
lib/mymedia-pages.rb

Instance Method Summary collapse

Methods included from PagesTestSetup

#cleanup, #prep, #set_paths, #write

Methods inherited from MyMediaPages

#copy_publish, #escape, #writecopy_publish

Methods included from PageReader

#escape, #read, #view

Constructor Details

#initialize(config: '', cur_dir: '', www_dir: '/tmp/www', media_dir: '/tmp/media', debug: false) ⇒ PagesTester23

it is assumed this class will be executed from a test directory containing the following auxillary files:

- pages.xsl
- index-template.html


395
396
397
398
399
400
401
# File 'lib/mymedia-pages.rb', line 395

def initialize(config: '', cur_dir:  '', www_dir: '/tmp/www', 
               media_dir: '/tmp/media', debug: false)
      
  super(config: config, debug: debug)
  set_paths(cur_dir, www_dir, media_dir)
  
end