Class: Burr::LinkPlugin

Inherits:
Plugin show all
Defined in:
lib/burr/plugins/link.rb

Constant Summary

Constants inherited from Plugin

Plugin::PRIORITIES, Plugin::VALIDS

Instance Attribute Summary

Attributes inherited from Plugin

#book

Instance Method Summary collapse

Methods inherited from Plugin

<=>, inherited, #initialize, priority, subclasses

Constructor Details

This class inherits a constructor from Burr::Plugin

Instance Method Details

#after_parseObject

Do something after parsed the item content.



5
6
7
# File 'lib/burr/plugins/link.rb', line 5

def after_parse
  extend_url if %w(site epub).include?(self.book.format)
end