Method: Howzit::StringUtils#build_note?

Defined in:
lib/howzit/stringutils.rb

#build_note?Boolean

Test if the filename matches the conditions to be a build note

Returns:

  • (Boolean)

    true if filename passes test



11
12
13
14
15
16
17
# File 'lib/howzit/stringutils.rb', line 11

def build_note?
  return false if downcase !~ /^(howzit[^.]*|build[^.]+)/

  return false if Howzit.config.should_ignore(self)

  true
end