Class: Aspen::CustomGrammar::AST::Nodes::Bare

Inherits:
Object
  • Object
show all
Defined in:
lib/aspen/custom_grammar/ast/nodes/bare.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Bare

Returns a new instance of Bare.



9
10
11
# File 'lib/aspen/custom_grammar/ast/nodes/bare.rb', line 9

def initialize(content)
  @content = Content.new(content)
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



7
8
9
# File 'lib/aspen/custom_grammar/ast/nodes/bare.rb', line 7

def content
  @content
end