Class: RailsGraph::Configuration
- Inherits:
-
Object
- Object
- RailsGraph::Configuration
- Defined in:
- lib/rails_graph/configuration.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
writeonly
Sets the attribute columns.
-
#databases ⇒ Object
writeonly
Sets the attribute databases.
-
#gems ⇒ Object
writeonly
Sets the attribute gems.
-
#include_classes ⇒ Object
Returns the value of attribute include_classes.
-
#include_packwerk ⇒ Object
writeonly
Sets the attribute include_packwerk.
-
#inheritance ⇒ Object
writeonly
Sets the attribute inheritance.
Instance Method Summary collapse
- #columns? ⇒ Boolean
- #databases? ⇒ Boolean
- #gems? ⇒ Boolean
- #include_packwerk? ⇒ Boolean
- #inheritance? ⇒ Boolean
-
#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 |
# File 'lib/rails_graph/configuration.rb', line 8 def initialize @include_classes = [] @include_packwerk = false @databases = true @columns = false @inheritance = true @gems = false end |
Instance Attribute Details
#columns=(value) ⇒ Object (writeonly)
Sets the attribute columns
6 7 8 |
# File 'lib/rails_graph/configuration.rb', line 6 def columns=(value) @columns = value end |
#databases=(value) ⇒ Object (writeonly)
Sets the attribute databases
6 7 8 |
# File 'lib/rails_graph/configuration.rb', line 6 def databases=(value) @databases = value end |
#gems=(value) ⇒ Object (writeonly)
Sets the attribute gems
6 7 8 |
# File 'lib/rails_graph/configuration.rb', line 6 def gems=(value) @gems = value end |
#include_classes ⇒ Object
Returns the value of attribute include_classes.
5 6 7 |
# File 'lib/rails_graph/configuration.rb', line 5 def include_classes @include_classes end |
#include_packwerk=(value) ⇒ Object (writeonly)
Sets the attribute include_packwerk
6 7 8 |
# File 'lib/rails_graph/configuration.rb', line 6 def include_packwerk=(value) @include_packwerk = value end |
#inheritance=(value) ⇒ Object (writeonly)
Sets the attribute inheritance
6 7 8 |
# File 'lib/rails_graph/configuration.rb', line 6 def inheritance=(value) @inheritance = value end |
Instance Method Details
#columns? ⇒ Boolean
21 22 23 |
# File 'lib/rails_graph/configuration.rb', line 21 def columns? @columns end |
#databases? ⇒ Boolean
33 34 35 |
# File 'lib/rails_graph/configuration.rb', line 33 def databases? @databases end |
#gems? ⇒ Boolean
37 38 39 |
# File 'lib/rails_graph/configuration.rb', line 37 def gems? @gems end |
#include_packwerk? ⇒ Boolean
29 30 31 |
# File 'lib/rails_graph/configuration.rb', line 29 def include_packwerk? @include_packwerk end |
#inheritance? ⇒ Boolean
25 26 27 |
# File 'lib/rails_graph/configuration.rb', line 25 def inheritance? @inheritance end |