class Danger::DangerHomete
@see Shinobu Okano/danger-homete @tags homete
Attributes
test_files[RW]
A globbed string or array of strings which should match the files that you want to test.
@param [String or [String]] value @return [[String]]
Public Instance Methods
homete(messages = ["えらい!"])
click to toggle source
If you change the test code, you will be praised.
@param [String or [String]] praises @return [void]
# File lib/homete/plugin.rb, line 20 def homete(messages = ["えらい!"]) test_files.each { |v| message [messages].flatten.compact.sample if git.modified_files.any? { |f| File.fnmatch(v, f) } } end