lib/dry/schema/messages/template.rb in dry-schema-0.6.0 vs lib/dry/schema/messages/template.rb in dry-schema-1.0.0
- old
+ new
@@ -15,18 +15,18 @@
include Dry::Equalizer(:text)
TOKEN_REGEXP = /%{([\w\d]*)}/
# !@attribute [r] text
- # @return [String]
+ # @return [String]
attr_reader :text
# !@attribute [r] tokens
- # @return [Hash]
+ # @return [Hash]
attr_reader :tokens
# !@attribute [r] evaluator
- # @return [Proc]
+ # @return [Proc]
attr_reader :evaluator
# @api private
def self.[](input)
new(*parse(input))