Class: WebIDL::Ast::PromiseType
- Defined in:
- lib/webidl/ast/promise_type.rb
Instance Attribute Summary collapse
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(return_type) ⇒ PromiseType
constructor
A new instance of PromiseType.
Methods inherited from Node
#accept, #qualified_name, #snake_name
Constructor Details
#initialize(return_type) ⇒ PromiseType
Returns a new instance of PromiseType.
7 8 9 |
# File 'lib/webidl/ast/promise_type.rb', line 7 def initialize(return_type) @return_type = return_type end |
Instance Attribute Details
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type.
5 6 7 |
# File 'lib/webidl/ast/promise_type.rb', line 5 def return_type @return_type end |