Class: Lutaml::Layout::Engine
- Inherits:
-
Object
- Object
- Lutaml::Layout::Engine
- Defined in:
- lib/lutaml/layout/engine.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#input ⇒ Object
Returns the value of attribute input.
Instance Method Summary collapse
-
#initialize(input:) ⇒ Engine
constructor
A new instance of Engine.
- #render(_type) ⇒ Object
Constructor Details
#initialize(input:) ⇒ Engine
Returns a new instance of Engine.
8 9 10 |
# File 'lib/lutaml/layout/engine.rb', line 8 def initialize(input:) @input = input end |
Instance Attribute Details
#input ⇒ Object
Returns the value of attribute input.
6 7 8 |
# File 'lib/lutaml/layout/engine.rb', line 6 def input @input end |
Instance Method Details
#render(_type) ⇒ Object
12 13 14 |
# File 'lib/lutaml/layout/engine.rb', line 12 def render(_type) raise ArgumentError, "Implement render method" end |