lib/scrivito/attribute_definition.rb in scrivito_sdk-0.66.0 vs lib/scrivito/attribute_definition.rb in scrivito_sdk-0.70.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
module Scrivito
#
-# This class represents a definition of an attribute.
+# This class represents an attribute definition.
#
# @api public
#
class AttributeDefinition
#
@@ -23,11 +23,11 @@
#
# Allowed values for an attribute.
#
# @api public
- # @return [Array<String>] allowed values if type is +enum+ or +multienum+ or an empty array
- # otherwise. If no values have been specified, then an empty array will be returned.
+ # @return [Array<String>] allowed values if +type+ is +enum+ or +multienum+ or an empty array
+ # otherwise. If no values have been specified, an empty array is returned.
#
def values
if type == 'enum' || type == 'multienum'
@options[:values] || []
else