Class: RemindMe::Reminder::InvalidReminder

Inherits:
Object
  • Object
show all
Defined in:
lib/remind_me/reminder/invalid_reminder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_location, message) ⇒ InvalidReminder

Returns a new instance of InvalidReminder.



8
9
10
11
# File 'lib/remind_me/reminder/invalid_reminder.rb', line 8

def initialize(source_location, message)
  @source_location = source_location
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/remind_me/reminder/invalid_reminder.rb', line 6

def message
  @message
end

#source_locationObject (readonly)

Returns the value of attribute source_location.



6
7
8
# File 'lib/remind_me/reminder/invalid_reminder.rb', line 6

def source_location
  @source_location
end