Class: Wiki2Go::DotGraphics
- Inherits:
-
Object
- Object
- Wiki2Go::DotGraphics
- Defined in:
- lib/Wiki2Go/DotGraphics.rb
Instance Method Summary collapse
-
#initialize(path = '') ⇒ DotGraphics
constructor
A new instance of DotGraphics.
- #process(config, web, content) ⇒ Object
- #save(config, web, content) ⇒ Object
Constructor Details
#initialize(path = '') ⇒ DotGraphics
Returns a new instance of DotGraphics.
13 14 15 |
# File 'lib/Wiki2Go/DotGraphics.rb', line 13 def initialize(path='') @path = path end |
Instance Method Details
#process(config, web, content) ⇒ Object
17 18 19 20 |
# File 'lib/Wiki2Go/DotGraphics.rb', line 17 def process(config,web,content) config.log("Processing #{web.current_page}") save_if_necessary(config,web,content,false) end |
#save(config, web, content) ⇒ Object
22 23 24 25 |
# File 'lib/Wiki2Go/DotGraphics.rb', line 22 def save(config,web,content) config.log("Saving #{web.current_page}") save_if_necessary(config,web,content,true) end |