Class: Documented::Config
- Inherits:
-
Object
- Object
- Documented::Config
- Defined in:
- lib/config.rb
Instance Attribute Summary collapse
-
#blocklist ⇒ Object
Returns the value of attribute blocklist.
-
#duplicates ⇒ Object
Returns the value of attribute duplicates.
-
#output_directory ⇒ Object
Returns the value of attribute output_directory.
-
#project_path ⇒ Object
Returns the value of attribute project_path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/config.rb', line 8 def initialize() @blocklist = [ '#<Class:Bundler', '#<Class:#<Class', '#<Class:0x0000', '#<Class:Cucumber', '#<Class:JSON>', '#<Class:Net::', '#<Class:Time', '#<Class:URI::Generic>', '#<Class:URI>', '#<Module', '#<refinement', 'BasicSocket', 'Bundler', 'Cucumber', 'Datadog', 'Float', 'Helpers', 'Integer', 'Kernel', 'Net::', 'NilClass', 'Set', 'Thread', 'Timeout::Request', 'TracePoint', 'URI::', 'URI::Generic', ] # An absolute path to the project root directory. Defaults to current execution path. @project_path = Dir.pwd # Name of output directory. @output_directory = "documented" end |
Instance Attribute Details
#blocklist ⇒ Object
Returns the value of attribute blocklist.
3 4 5 |
# File 'lib/config.rb', line 3 def blocklist @blocklist end |
#duplicates ⇒ Object
Returns the value of attribute duplicates.
4 5 6 |
# File 'lib/config.rb', line 4 def duplicates @duplicates end |
#output_directory ⇒ Object
Returns the value of attribute output_directory.
6 7 8 |
# File 'lib/config.rb', line 6 def output_directory @output_directory end |
#project_path ⇒ Object
Returns the value of attribute project_path.
5 6 7 |
# File 'lib/config.rb', line 5 def project_path @project_path end |