Class: Chelsy::Comment::Single
- Defined in:
- lib/chelsy/ast.rb
Overview
// ...
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body, **rest) ⇒ Single
constructor
A new instance of Single.
Constructor Details
#initialize(body, **rest) ⇒ Single
Returns a new instance of Single.
77 78 79 80 |
# File 'lib/chelsy/ast.rb', line 77 def initialize(body, **rest) @body = body.dup super **rest end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
75 76 77 |
# File 'lib/chelsy/ast.rb', line 75 def body @body end |