Class: Lutaml::Jsonschema::Spa::OutputStrategy
- Inherits:
-
Object
- Object
- Lutaml::Jsonschema::Spa::OutputStrategy
- Defined in:
- lib/lutaml/jsonschema/spa/output_strategy.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(output_path) ⇒ OutputStrategy
constructor
A new instance of OutputStrategy.
- #write(_json_data) ⇒ Object
Constructor Details
#initialize(output_path) ⇒ OutputStrategy
Returns a new instance of OutputStrategy.
7 8 9 |
# File 'lib/lutaml/jsonschema/spa/output_strategy.rb', line 7 def initialize(output_path) @output_path = output_path end |
Instance Method Details
#write(_json_data) ⇒ Object
11 12 13 |
# File 'lib/lutaml/jsonschema/spa/output_strategy.rb', line 11 def write(_json_data) raise NotImplementedError end |