lib/remarkable/dsl/optionals.rb in remarkable-3.0.0 vs lib/remarkable/dsl/optionals.rb in remarkable-3.0.1

- old
+ new

@@ -2,11 +2,11 @@ module DSL module Optionals OPTIONAL_KEYS = [ :positive, :negative, :not_given ] - def self.included(base) + def self.included(base) #:nodoc: base.extend ClassMethods end module ClassMethods @@ -109,10 +109,10 @@ end # Overwrites description to support optionals. Check <tt>optional</tt> for # more information. # - def description(options={}) + def description(options={}) #:nodoc: message = super(options) message.strip! optionals = self.class.matcher_optionals.map do |optional| scope = matcher_i18n_scope + ".optionals.#{optional}"