Class: Precheck::URLRule

Inherits:
Rule show all
Defined in:
precheck/lib/precheck/rule.rb

Direct Known Subclasses

UnreachableURLRule

Instance Attribute Summary

Attributes inherited from FastlaneCore::ConfigItem

#allow_shell_conversion, #code_gen_default_value, #code_gen_sensitive, #conflict_block, #conflicting_options, #default_value, #default_value_dynamic, #deprecated, #description, #display_in_shell, #env_name, #key, #optional, #sensitive, #short_option, #skip_type_validation, #verify_block

Instance Method Summary collapse

Methods inherited from Rule

#check_item, #customize_with_data, default_value, description, env_name, #friendly_name, friendly_name, #initialize, #inspect, #item_field_supported?, key, #needs_customization?, #perform_check, #rule_block, #skip_item_not_meant_for_this_rule, #supported_fields_symbol_set, #to_s

Methods inherited from FastlaneCore::ConfigItem

#auto_convert_value, #data_type, #doc_default_value, #ensure_boolean_type_passes_validation, #ensure_generic_type_passes_validation, #help_default_value, #initialize, #is_string, #string?, #to_s, #update_code_gen_default_value_if_able!, #valid?, #verify!

Constructor Details

This class inherits a constructor from Precheck::Rule

Instance Method Details

#handle_item?(item) ⇒ Boolean

Returns:

  • (Boolean)


167
168
169
# File 'precheck/lib/precheck/rule.rb', line 167

def handle_item?(item)
  item.kind_of?(URLItemToCheck) ? true : false
end