Module: Danger::Toc::Config
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#header ⇒ Object
Returns the value of attribute header.
Instance Method Summary collapse
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
6 7 8 |
# File 'lib/toc/config.rb', line 6 def files @files end |
#header ⇒ Object
Returns the value of attribute header.
7 8 9 |
# File 'lib/toc/config.rb', line 7 def header @header end |
Instance Method Details
#reset ⇒ Object
19 20 21 22 |
# File 'lib/toc/config.rb', line 19 def reset self.files = ['README.md'] self.header = 'Table of Contents' end |