Class: Bundler::GemBytes::Actions::Gemspec::AttributeNode
- Inherits:
-
Struct
- Object
- Struct
- Bundler::GemBytes::Actions::Gemspec::AttributeNode
- Defined in:
- lib/bundler/gem_bytes/actions/gemspec/attribute_node.rb
Overview
Maps a dependency declaration to the AST that represents it
Instance Attribute Summary collapse
-
#attribute ⇒ Dependency
readonly
The components of the attribute from the AST node.
-
#node ⇒ Parser::AST::Node
readonly
The AST node for the attribute.
Instance Attribute Details
#attribute ⇒ Dependency (readonly)
The components of the attribute from the AST node
28 |
# File 'lib/bundler/gem_bytes/actions/gemspec/attribute_node.rb', line 28 AttributeNode = Struct.new(:node, :attribute) |
#node ⇒ Parser::AST::Node (readonly)
The AST node for the attribute
28 |
# File 'lib/bundler/gem_bytes/actions/gemspec/attribute_node.rb', line 28 AttributeNode = Struct.new(:node, :attribute) |