Class: Philiprehberger::Password::Policy::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/philiprehberger/password/policy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errors ⇒ Object

Returns the value of attribute errors

Returns:

  • (Object) —

    the current value of errors



6
7
8
# File 'lib/philiprehberger/password/policy.rb', line 6

def errors
  @errors
end

#score ⇒ Object

Returns the value of attribute score

Returns:

  • (Object) —

    the current value of score



6
7
8
# File 'lib/philiprehberger/password/policy.rb', line 6

def score
  @score
end

#valid? ⇒ Object

Returns the value of attribute valid?

Returns:

  • (Object) —

    the current value of valid?



6
7
8
# File 'lib/philiprehberger/password/policy.rb', line 6

def valid?
  @valid?
end