Class: ActiveModel::ErrorCollecting::MessageReporter
- Inherits:
-
Reporter
- Object
- Reporter
- ActiveModel::ErrorCollecting::MessageReporter
show all
- Defined in:
- lib/active_model/error_collecting/message_reporter.rb
Instance Attribute Summary
Attributes inherited from Reporter
#collection
Instance Method Summary
collapse
Methods inherited from Reporter
#base, #initialize
Instance Method Details
#full_message(attribute, message) ⇒ Object
8
9
10
|
# File 'lib/active_model/error_collecting/message_reporter.rb', line 8
def full_message(attribute, message)
raise "abstract method"
end
|
#full_messages ⇒ Object
4
5
6
|
# File 'lib/active_model/error_collecting/message_reporter.rb', line 4
def full_messages
raise "abstract method"
end
|
#generate_message(attribute, type = :invalid, options = {}) ⇒ Object
12
13
14
|
# File 'lib/active_model/error_collecting/message_reporter.rb', line 12
def generate_message(attribute, type = :invalid, options = {})
raise "abstract method"
end
|