Module: Rpub
- Defined in:
- lib/rpub.rb,
lib/rpub/epub.rb,
lib/rpub/book.rb,
lib/rpub/command.rb,
lib/rpub/context.rb,
lib/rpub/version.rb,
lib/rpub/preview.rb,
lib/rpub/chapter.rb,
lib/rpub/xml_file.rb,
lib/rpub/epub/toc.rb,
lib/rpub/document.rb,
lib/rpub/media_type.rb,
lib/rpub/epub/cover.rb,
lib/rpub/compressor.rb,
lib/rpub/epub/content.rb,
lib/rpub/epub/html_toc.rb,
lib/rpub/commands/clean.rb,
lib/rpub/commands/stats.rb,
lib/rpub/epub/container.rb,
lib/rpub/hash_delegation.rb,
lib/rpub/commands/preview.rb,
lib/rpub/commands/compile.rb,
lib/rpub/commands/package.rb,
lib/rpub/filesystem_source.rb,
lib/rpub/commands/generate.rb
Defined Under Namespace
Modules: Commands, FilesystemSource, HashDelegation, MediaType Classes: Book, Chapter, Command, Compressor, Context, Document, Epub, Preview, XmlFile
Constant Summary
- GEM_ROOT =
File.('../../', __FILE__)
- VERSION =
'0.4.1'
Class Method Summary (collapse)
-
+ (Object) document_factory
-
+ (Object) source
-
+ (String) support_file(path)
Full path to a file that was relative to the gem support directory.
Class Method Details
+ (Object) document_factory
28 29 30 |
# File 'lib/rpub.rb', line 28 def self.document_factory Rpub::Document.method(:new) end |
+ (Object) source
24 25 26 |
# File 'lib/rpub.rb', line 24 def self.source FilesystemSource end |
+ (String) support_file(path)
Full path to a file that was relative to the gem support directory
20 21 22 |
# File 'lib/rpub.rb', line 20 def self.support_file(path) File.join(GEM_ROOT, 'support', path) end |