Class: Solargraph::Rspec::SpecConfigurationWalker::IncludedModule

Inherits:
Struct
  • Object
show all
Defined in:
lib/solargraph/rspec/spec_configuration_walker.rb

Overview

Represents a module included via config.include in RSpec.configure

Instance Attribute Summary collapse

Instance Attribute Details

#fileString

Returns the value of attribute file

Returns:

  • (String)

    the current value of file



23
24
25
# File 'lib/solargraph/rspec/spec_configuration_walker.rb', line 23

def file
  @file
end

#module_nameString

Returns the value of attribute module_name

Returns:

  • (String)

    the current value of module_name



23
24
25
# File 'lib/solargraph/rspec/spec_configuration_walker.rb', line 23

def module_name
  @module_name
end

#node::Parser::AST::Node

Returns the value of attribute node

Returns:

  • (::Parser::AST::Node)

    the current value of node



23
24
25
# File 'lib/solargraph/rspec/spec_configuration_walker.rb', line 23

def node
  @node
end