Class: Lutaml::Layout::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/lutaml/layout/engine.rb

Direct Known Subclasses

GraphVizEngine

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#inputObject

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

Raises:

  • (ArgumentError)


12
13
14
# File 'lib/lutaml/layout/engine.rb', line 12

def render(_type)
  raise ArgumentError, "Implement render method"
end