Class: AST
- Inherits:
-
Struct
- Object
- Struct
- AST
- Defined in:
- lib/ast/ast.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#to_parse ⇒ Object
Returns the value of attribute to_parse.
Instance Method Summary collapse
-
#method ⇒ self
just so it makes sense in contest of the ast.
-
#params ⇒ Hash<String, String>
Parameter of a method.
Instance Attribute Details
#to_parse ⇒ Object
Returns the value of attribute to_parse
1 2 3 |
# File 'lib/ast/ast.rb', line 1 def to_parse @to_parse end |
Instance Method Details
#method ⇒ self
just so it makes sense in contest of the ast
9 10 11 |
# File 'lib/ast/ast.rb', line 9 def method self end |
#params ⇒ Hash<String, String>
Returns parameter of a method.
3 4 5 |
# File 'lib/ast/ast.rb', line 3 def params get_param_hash to_parse end |