Class: AppMap::Config::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/appmap/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Configuration

Returns a new instance of Configuration.



12
13
14
15
16
17
# File 'lib/appmap/config.rb', line 12

def initialize(name)
  @name = name
  @packages = []
  @files = []
  @named_functions = []
end

Instance Attribute Details

#filesObject (readonly)

Returns the value of attribute files.



10
11
12
# File 'lib/appmap/config.rb', line 10

def files
  @files
end

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/appmap/config.rb', line 10

def name
  @name
end

#named_functionsObject (readonly)

Returns the value of attribute named_functions.



10
11
12
# File 'lib/appmap/config.rb', line 10

def named_functions
  @named_functions
end

#packagesObject (readonly)

Returns the value of attribute packages.



10
11
12
# File 'lib/appmap/config.rb', line 10

def packages
  @packages
end

Instance Method Details

#source_locationsObject



19
20
21
# File 'lib/appmap/config.rb', line 19

def source_locations
  packages + files + named_functions
end