class Precheck::NegativeAppleSentimentRule
Public Class Methods
Source
# File precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb, line 17 def self.description "mentioning in a way that could be considered negative" end
Source
# File precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb, line 9 def self.env_name "RULE_NEGATIVE_APPLE_SENTIMENT" end
Source
# File precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb, line 13 def self.friendly_name "No negative sentiment" end
Source
# File precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb, line 5 def self.key :negative_apple_sentiment end
Public Instance Methods
Source
# File precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb, line 21 def lowercased_words_to_look_for [ "ios", "macos", "safari", "webkit", "uikit", "apple store" ].map { |word| (word + " bug").downcase } + [ "slow iphone", "slow ipad", "old iphone" ] end