Class: Hokusai::Ast::Event
- Inherits:
-
Object
- Object
- Hokusai::Ast::Event
- Defined in:
- ui/src/hokusai/ast.rb
Overview
A node representing an ast event
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Event
constructor
A new instance of Event.
- #name ⇒ String
- #value ⇒ Func?
Constructor Details
#initialize(raw) ⇒ Event
Returns a new instance of Event.
77 78 79 |
# File 'ui/src/hokusai/ast.rb', line 77 def initialize(raw) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
75 76 77 |
# File 'ui/src/hokusai/ast.rb', line 75 def raw @raw end |