Class: Lutaml::Engine

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

Direct Known Subclasses

Layout::GraphVizEngine

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input:) ⇒ Engine

Returns a new instance of Engine.



7
8
9
# File 'lib/lutaml/layout/engine.rb', line 7

def initialize(input:)
  @input = input
end

Instance Attribute Details

#inputObject

Returns the value of attribute input.



5
6
7
# File 'lib/lutaml/layout/engine.rb', line 5

def input
  @input
end

Instance Method Details

#render(_type) ⇒ Object

Raises:

  • (ArgumentError)


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

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