class SyntaxTree::Reflection::Attribute
This class represents one of the attributes on a node in the tree.
Attributes
Public Class Methods
Source
# File lib/syntax_tree/reflection.rb, line 130 def initialize(name, comment) @name = name @comment = comment @type = Type.parse(comment) end