Class: Graphomaton::RenderResult
- Inherits:
-
Data
- Object
- Data
- Graphomaton::RenderResult
- Defined in:
- lib/graphomaton/model.rb,
sig/graphomaton.rbs
Instance Attribute Summary collapse
-
#bounds ⇒ Object
readonly
Returns the value of attribute bounds.
-
#diagnostics ⇒ Object
readonly
Returns the value of attribute diagnostics.
-
#layout ⇒ Object
readonly
Returns the value of attribute layout.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(output:, diagnostics:, bounds:, layout:) ⇒ RenderResult
constructor
A new instance of RenderResult.
Constructor Details
#initialize(output:, diagnostics:, bounds:, layout:) ⇒ RenderResult
Returns a new instance of RenderResult.
209 210 211 212 213 214 215 216 |
# File 'lib/graphomaton/model.rb', line 209 def initialize(output:, diagnostics:, bounds:, layout:) super( output: ModelValue.copy(output), diagnostics: ModelValue.copy(Array(diagnostics)), bounds: ModelValue.copy(bounds), layout: ModelValue.copy(layout) ) end |
Instance Attribute Details
#bounds ⇒ Object (readonly)
Returns the value of attribute bounds
208 209 210 |
# File 'lib/graphomaton/model.rb', line 208 def bounds @bounds end |
#diagnostics ⇒ Object (readonly)
Returns the value of attribute diagnostics
208 209 210 |
# File 'lib/graphomaton/model.rb', line 208 def diagnostics @diagnostics end |
#layout ⇒ Object (readonly)
Returns the value of attribute layout
208 209 210 |
# File 'lib/graphomaton/model.rb', line 208 def layout @layout end |
#output ⇒ Object (readonly)
Returns the value of attribute output
208 209 210 |
# File 'lib/graphomaton/model.rb', line 208 def output @output end |