Module: Danger::Changelog::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#placeholder_lineObject

Returns the value of attribute placeholder_line.



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

def placeholder_line
  @placeholder_line
end

Instance Method Details

#placeholder_line?Boolean

Returns:

  • (Boolean)


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

def placeholder_line?
  !@placeholder_line.nil?
end

#resetObject



23
24
25
# File 'lib/changelog/config.rb', line 23

def reset
  self.placeholder_line = "* Your contribution here.\n"
end