class FlexValidations::Or::FailedMessage

Public Class Methods

new(fails) click to toggle source
# File lib/flex_validations/or.rb, line 36
def initialize(fails)
  @fails = fails
end

Public Instance Methods

to_s() click to toggle source
# File lib/flex_validations/or.rb, line 40
def to_s
  "all validations failed:\n#{IndentedString.new(List.new(@fails))}"
end