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