Class: Sevgi::Graphics::Document::Proto
- Defined in:
- lib/sevgi/graphics/document.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Element
Instance Attribute Summary
Attributes inherited from Element
#attributes, #children, #contents, #name, #parent
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Element
element, #initialize, #method_missing, #respond_to_missing?, root, root?
Methods included from Element::Ident
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
Class Method Details
.attributes ⇒ Object
77 |
# File 'lib/sevgi/graphics/document.rb', line 77 def self.attributes = self == Proto ? {} : {**superclass.attributes, **profile.attributes} |
.preambles ⇒ Object
79 |
# File 'lib/sevgi/graphics/document.rb', line 79 def self.preambles = self == Proto ? nil : profile.preambles || superclass.preambles |
Instance Method Details
#call ⇒ Object
70 71 72 73 74 75 |
# File 'lib/sevgi/graphics/document.rb', line 70 def call(*, **) = DEFAULTS.merge(**) self.PreRender(*, **) if respond_to?(:PreRender) self.Render(*, **) end |