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