Class: MarkdownTree::Configuration
- Inherits:
-
Object
- Object
- MarkdownTree::Configuration
- Defined in:
- lib/markdown_tree/configuration.rb
Instance Attribute Summary collapse
-
#exclude_list ⇒ Object
Returns the value of attribute exclude_list.
-
#output_file ⇒ Object
Returns the value of attribute output_file.
-
#root_directory ⇒ Object
Returns the value of attribute root_directory.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/markdown_tree/configuration.rb', line 5 def initialize @exclude_list = ["node_modules", ".git", ".DS_Store"] @root_directory = Dir.pwd @output_file = "directory_structure.md" end |
Instance Attribute Details
#exclude_list ⇒ Object
Returns the value of attribute exclude_list.
3 4 5 |
# File 'lib/markdown_tree/configuration.rb', line 3 def exclude_list @exclude_list end |
#output_file ⇒ Object
Returns the value of attribute output_file.
3 4 5 |
# File 'lib/markdown_tree/configuration.rb', line 3 def output_file @output_file end |
#root_directory ⇒ Object
Returns the value of attribute root_directory.
3 4 5 |
# File 'lib/markdown_tree/configuration.rb', line 3 def root_directory @root_directory end |