Module: Caracal
- Defined in:
- lib/caracal.rb,
lib/caracal/errors.rb,
lib/caracal/version.rb,
lib/caracal/document.rb,
lib/caracal/core/text.rb,
lib/caracal/utilities.rb,
lib/caracal/core/fonts.rb,
lib/caracal/core/lists.rb,
lib/caracal/core/rules.rb,
lib/caracal/core/images.rb,
lib/caracal/core/styles.rb,
lib/caracal/core/tables.rb,
lib/caracal/core/iframes.rb,
lib/caracal/core/file_name.rb,
lib/caracal/core/ignorables.rb,
lib/caracal/core/namespaces.rb,
lib/caracal/core/list_styles.rb,
lib/caracal/core/page_breaks.rb,
lib/caracal/core/page_numbers.rb,
lib/caracal/core/page_settings.rb,
lib/caracal/core/relationships.rb,
lib/caracal/core/custom_properties.rb,
lib/caracal/core/models/base_model.rb,
lib/caracal/core/models/font_model.rb,
lib/caracal/core/models/link_model.rb,
lib/caracal/core/models/list_model.rb,
lib/caracal/core/models/rule_model.rb,
lib/caracal/core/models/text_model.rb,
lib/caracal/renderers/app_renderer.rb,
lib/caracal/renderers/xml_renderer.rb,
lib/caracal/core/models/image_model.rb,
lib/caracal/core/models/style_model.rb,
lib/caracal/core/models/table_model.rb,
lib/caracal/renderers/core_renderer.rb,
lib/caracal/core/models/border_model.rb,
lib/caracal/core/models/iframe_model.rb,
lib/caracal/core/models/margin_model.rb,
lib/caracal/renderers/fonts_renderer.rb,
lib/caracal/renderers/custom_renderer.rb,
lib/caracal/renderers/footer_renderer.rb,
lib/caracal/renderers/styles_renderer.rb,
lib/caracal/core/models/list_item_model.rb,
lib/caracal/core/models/namespace_model.rb,
lib/caracal/core/models/page_size_model.rb,
lib/caracal/core/models/paragraph_model.rb,
lib/caracal/renderers/document_renderer.rb,
lib/caracal/renderers/settings_renderer.rb,
lib/caracal/core/models/line_break_model.rb,
lib/caracal/core/models/list_style_model.rb,
lib/caracal/core/models/page_break_model.rb,
lib/caracal/core/models/table_cell_model.rb,
lib/caracal/renderers/numbering_renderer.rb,
lib/caracal/core/models/page_number_model.rb,
lib/caracal/core/models/relationship_model.rb,
lib/caracal/renderers/content_types_renderer.rb,
lib/caracal/renderers/relationships_renderer.rb,
lib/caracal/core/models/custom_property_model.rb,
lib/caracal/renderers/package_relationships_renderer.rb
Overview
We’re using this strategy borrowed from ActiveSupport to make command syntax a little more flexible. In a perfect world we’d just use the double splat feature of Ruby, but support for that is pretty limited at this point, so we’re going the extra mile to be cool.
Defined Under Namespace
Modules: Core, Errors, Renderers Classes: Document, Utilities
Constant Summary collapse
- VERSION =
'1.1.0'
Class Method Summary collapse
Class Method Details
.root ⇒ Object
24 25 26 |
# File 'lib/caracal.rb', line 24 def self.root File.dirname __dir__ end |