class Convenlu::Standard
Public Class Methods
commit_types()
click to toggle source
# File lib/convenlu/standard.rb, line 8 def self.commit_types commit_types_file = Reader.read_file(ConventionFile.path('convention.json')) convention = Reader.read_json(commit_types_file) convention.map do |type| "#{type.keys.join}: #{type.values.join}" end end
rules()
click to toggle source
# File lib/convenlu/standard.rb, line 16 def self.rules rules_file = Reader.read_file(ConventionFile.path('rules.json')) Reader.read_json(rules_file) end