Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/string.rb

Instance Method Summary collapse

Instance Method Details

#is_valid?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/ext/string.rb', line 5

def is_valid?
  is_upper? || is_lower? || is_digit?
end