Class: Sevgi::Graphics::Document::Base
- Defined in:
- lib/sevgi/graphics/document/base.rb
Overview
Abstract common document layer with the profile-independent DSL mixture set. It is not registered as a selectable profile. Advanced extensions may target this class through Mixtures.mixin; doing so changes every descendant profile process-wide. Subclass it first when an extension should remain scoped.
Instance Attribute Summary
Attributes inherited from Element
#attributes, #children, #contents, #name, #parent
Instance Method Summary collapse
-
#PreRender(**options) ⇒ void
Runs pre-render validation and lint checks.
Methods inherited from Proto
attributes, #call, preambles, profile
Methods inherited from Element
element, #initialize, root, root?, valid?
Constructor Details
This class inherits a constructor from Sevgi::Graphics::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sevgi::Graphics::Element
Instance Method Details
#PreRender(**options) ⇒ void
This method returns an undefined value.
Runs pre-render validation and lint checks.
31 32 33 34 |
# File 'lib/sevgi/graphics/document/base.rb', line 31 def PreRender(**) self.Validate() if [:validate] self.Lint() if [:lint] end |