Class: RubyUIConverter::Nodes::Output
- Defined in:
- lib/ruby_ui_converter/nodes.rb
Overview
<%= code %> or <%== code %>
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(code:, raw: false) ⇒ Output
constructor
A new instance of Output.
Constructor Details
#initialize(code:, raw: false) ⇒ Output
Returns a new instance of Output.
74 75 76 77 |
# File 'lib/ruby_ui_converter/nodes.rb', line 74 def initialize(code:, raw: false) @code = code @raw = raw end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
72 73 74 |
# File 'lib/ruby_ui_converter/nodes.rb', line 72 def code @code end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
72 73 74 |
# File 'lib/ruby_ui_converter/nodes.rb', line 72 def raw @raw end |