Class: Kennel::OptionalValidations::ValidationMessage

Inherits:
Struct
  • Object
show all
Defined in:
lib/kennel/optional_validations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#tag ⇒ Object

Returns the value of attribute tag

Returns:

  • (Object) —

    the current value of tag



4
5
6
# File 'lib/kennel/optional_validations.rb', line 4

def tag
  @tag
end

#text ⇒ Object

Returns the value of attribute text

Returns:

  • (Object) —

    the current value of text



4
5
6
# File 'lib/kennel/optional_validations.rb', line 4

def text
  @text
end