Class: SpanView::Span::Compiler::KvPair
- Inherits:
-
Struct
- Object
- Struct
- SpanView::Span::Compiler::KvPair
- Defined in:
- lib/span_view/span/compiler.rb
Overview
Marks a kv-pair kwarg so render_call can partition it away from plain
token strings; code is the already-formatted Ruby value (quoted or verbatim).
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
15 16 17 |
# File 'lib/span_view/span/compiler.rb', line 15 def code @code end |
#key ⇒ Object
Returns the value of attribute key
15 16 17 |
# File 'lib/span_view/span/compiler.rb', line 15 def key @key end |