Class: RemindMe::Reminder::MissingGemReminder

Inherits:
BaseReminder
  • Object
show all
Includes:
Utils::Versions
Defined in:
lib/remind_me/reminder/missing_gem_reminder.rb

Constant Summary

Constants included from Utils::Versions

Utils::Versions::INSTALLED_GEMS

Instance Attribute Summary

Attributes inherited from BaseReminder

#reminder_comment_ast, #source_location

Instance Method Summary collapse

Methods included from Utils::Versions

#compare_version_numbers, #condition_comparators, #gem_installed?, #gem_version, #invalid_condition_message, #valid_condition?, #valid_version_string?

Methods inherited from BaseReminder

inherited, #inspect, #message, #validation_errors

Methods included from Utils::HashASTManipulations

#apply_to_hash_with, #ast_hash_pair, #children_of_type, #create_hash_value_accessor_method, #create_reminder_from_ast, #hash_ast_pair_value, #hash_ast_pair_value_type, #key_present?, #singleton_method_defined?, #valid_hash_ast_key?, #valid_hash_ast_value?, #validate_hash_ast

Instance Method Details

#conditions_met?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/remind_me/reminder/missing_gem_reminder.rb', line 14

def conditions_met?
  !gem_installed?(hash_missing_gem)
end