module Danger::Changelog::Parsers
Constants
- FORMATS
Public Class Methods
default_format()
click to toggle source
# File lib/changelog/parsers.rb, line 12 def default_format :intridea end
lookup(format)
click to toggle source
# File lib/changelog/parsers.rb, line 20 def lookup(format) FORMATS .fetch(format, IntrideaFormat) .new end
valid?(format)
click to toggle source
# File lib/changelog/parsers.rb, line 16 def valid?(format) FORMATS.keys.map(&:to_s).include?(format.to_s) end