Class: RailsVisualizer::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_visualizer/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/rails_visualizer/configuration.rb', line 8

def initialize
  @excluded_models      = []
  @excluded_controllers = []
  @excluded_jobs        = []
  @excluded_mailers     = []
  @excluded_route_paths = []
  @output_path          = 'tmp/rails_visualizer'
  @open_browser         = true
  @theme                = :light
  @parallel             = true
  @filename             = 'index.html'
end

Instance Attribute Details

#excluded_controllersObject

Returns the value of attribute excluded_controllers.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def excluded_controllers
  @excluded_controllers
end

#excluded_jobsObject

Returns the value of attribute excluded_jobs.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def excluded_jobs
  @excluded_jobs
end

#excluded_mailersObject

Returns the value of attribute excluded_mailers.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def excluded_mailers
  @excluded_mailers
end

#excluded_modelsObject

Returns the value of attribute excluded_models.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def excluded_models
  @excluded_models
end

#excluded_route_pathsObject

Returns the value of attribute excluded_route_paths.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def excluded_route_paths
  @excluded_route_paths
end

#filenameObject

Returns the value of attribute filename.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def filename
  @filename
end

#open_browserObject

Returns the value of attribute open_browser.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def open_browser
  @open_browser
end

#output_pathObject

Returns the value of attribute output_path.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def output_path
  @output_path
end

#parallelObject

Returns the value of attribute parallel.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def parallel
  @parallel
end

#themeObject

Returns the value of attribute theme.



5
6
7
# File 'lib/rails_visualizer/configuration.rb', line 5

def theme
  @theme
end