Class: RemindMe::Reminder::BaseReminder
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
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 Attribute Details
Returns the value of attribute reminder_comment_ast.
11
12
13
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 11
def
@reminder_comment_ast
end
|
#source_location ⇒ Object
Returns the value of attribute source_location.
11
12
13
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 11
def source_location
@source_location
end
|
Class Method Details
.inherited(base) ⇒ Object
Instance Method Details
#conditions_met? ⇒ Boolean
18
19
20
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 18
def conditions_met?
raise NotImplementedError
end
|
#inspect ⇒ Object
26
27
28
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 26
def inspect
"#<#{self.class}, source: #{source_location}>"
end
|
#message ⇒ Object
30
31
32
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 30
def message
"#{hash_message} at #{source_location}"
end
|
#validation_errors ⇒ Object
22
23
24
|
# File 'lib/remind_me/reminder/base_reminder.rb', line 22
def validation_errors
[]
end
|