Module: Rpub
- Defined in:
- lib/rpub.rb,
lib/rpub/book.rb,
lib/rpub/epub.rb,
lib/rpub/chapter.rb,
lib/rpub/version.rb,
lib/rpub/epub/toc.rb,
lib/rpub/xml_file.rb,
lib/rpub/commander.rb,
lib/rpub/compressor.rb,
lib/rpub/epub/cover.rb,
lib/rpub/epub/content.rb,
lib/rpub/commands/base.rb,
lib/rpub/commands/help.rb,
lib/rpub/commands/main.rb,
lib/rpub/epub/html_toc.rb,
lib/rpub/commands/clean.rb,
lib/rpub/epub/container.rb,
lib/rpub/hash_delegation.rb,
lib/rpub/commands/compile.rb,
lib/rpub/commands/package.rb,
lib/rpub/commands/preview.rb,
lib/rpub/subclass_tracker.rb,
lib/rpub/commands/generate.rb,
lib/rpub/compilation_helpers.rb
Defined Under Namespace
Modules: Commander, Commands, CompilationHelpers, HashDelegation, SubclassTracker Classes: Book, Chapter, Compressor, Epub, InvalidSubcommand, XmlFile
Constant Summary collapse
- GEM_ROOT =
File.('../../', __FILE__)
- NoConfiguration =
Class.new(StandardError)
- KRAMDOWN_OPTIONS =
{ :coderay_line_numbers => nil }
- VERSION =
'0.2.1'
Class Method Summary collapse
-
.support_file(path) ⇒ String
Full path to a file that was relative to the gem support directory.
Class Method Details
.support_file(path) ⇒ String
Returns full path to a file that was relative to the gem support directory.
48 49 50 |
# File 'lib/rpub.rb', line 48 def self.support_file(path) File.join(GEM_ROOT, 'support', path) end |