Module: Danger::Toc::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/toc/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filesObject

Returns the value of attribute files.



6
7
8
# File 'lib/toc/config.rb', line 6

def files
  @files
end

#headerObject

Returns the value of attribute header.



7
8
9
# File 'lib/toc/config.rb', line 7

def header
  @header
end

Instance Method Details

#resetObject



19
20
21
22
# File 'lib/toc/config.rb', line 19

def reset
  self.files = ['README.md']
  self.header = 'Table of Contents'
end