Class: RailsVisualizer::Configuration
- Inherits:
-
Object
- Object
- RailsVisualizer::Configuration
- Defined in:
- lib/rails_visualizer/configuration.rb
Instance Attribute Summary collapse
-
#excluded_controllers ⇒ Object
Returns the value of attribute excluded_controllers.
-
#excluded_jobs ⇒ Object
Returns the value of attribute excluded_jobs.
-
#excluded_mailers ⇒ Object
Returns the value of attribute excluded_mailers.
-
#excluded_models ⇒ Object
Returns the value of attribute excluded_models.
-
#excluded_route_paths ⇒ Object
Returns the value of attribute excluded_route_paths.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#open_browser ⇒ Object
Returns the value of attribute open_browser.
-
#output_path ⇒ Object
Returns the value of attribute output_path.
-
#parallel ⇒ Object
Returns the value of attribute parallel.
-
#theme ⇒ Object
Returns the value of attribute theme.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_controllers ⇒ Object
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_jobs ⇒ Object
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_mailers ⇒ Object
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_models ⇒ Object
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_paths ⇒ Object
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 |
#filename ⇒ Object
Returns the value of attribute filename.
5 6 7 |
# File 'lib/rails_visualizer/configuration.rb', line 5 def filename @filename end |
#open_browser ⇒ Object
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_path ⇒ Object
Returns the value of attribute output_path.
5 6 7 |
# File 'lib/rails_visualizer/configuration.rb', line 5 def output_path @output_path end |
#parallel ⇒ Object
Returns the value of attribute parallel.
5 6 7 |
# File 'lib/rails_visualizer/configuration.rb', line 5 def parallel @parallel end |
#theme ⇒ Object
Returns the value of attribute theme.
5 6 7 |
# File 'lib/rails_visualizer/configuration.rb', line 5 def theme @theme end |