Class: Sevgi::Graphics::Document::Proto
- Extended by:
- Profile::DSL
- Defined in:
- lib/sevgi/graphics/document/base.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Element
Instance Attribute Summary
Attributes included from Profile::DSL
Attributes inherited from Element
#attributes, #children, #contents, #name, #parent
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Profile::DSL
Methods inherited from Element
#initialize, #method_missing, #respond_to_missing?
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
24 |
# File 'lib/sevgi/graphics/document/base.rb', line 24 def attributes = self == Proto ? {} : { **superclass.attributes, **profile.attributes } |
.preambles ⇒ Object
26 |
# File 'lib/sevgi/graphics/document/base.rb', line 26 def preambles = self == Proto ? nil : profile.preambles || superclass.preambles |
Instance Method Details
#call ⇒ Object
16 17 18 19 20 21 |
# File 'lib/sevgi/graphics/document/base.rb', line 16 def call(*, **) = DEFAULTS.merge(**) self.Process(*, **) if respond_to?(:Process) self.Render(*, **) end |