Class: Dry::Schema::Hint Private
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A hint message sub-type
Instance Attribute Summary
Attributes inherited from Message
#args, #options, #path, #predicate, #rule, #text
Class Method Summary collapse
Instance Method Summary collapse
- #hint? ⇒ Boolean private
Methods inherited from Message
Constructor Details
This class inherits a constructor from Dry::Schema::Message
Class Method Details
.[](predicate, path, text, options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
93 94 95 |
# File 'lib/dry/schema/message.rb', line 93 def self.[](predicate, path, text, ) Hint.new(predicate, path, text, ) end |
Instance Method Details
#hint? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
98 99 100 |
# File 'lib/dry/schema/message.rb', line 98 def hint? true end |