Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/pixelpro_sdk/string_ext_function.rb
Instance Method Summary collapse
Instance Method Details
#is_all_low? ⇒ Boolean
10 11 12 |
# File 'lib/pixelpro_sdk/string_ext_function.rb', line 10 def is_all_low? return self.downcase == self end |
#is_all_num? ⇒ Boolean
2 3 4 |
# File 'lib/pixelpro_sdk/string_ext_function.rb', line 2 def is_all_num? return self.to_i.to_s == self end |
#is_all_up? ⇒ Boolean
6 7 8 |
# File 'lib/pixelpro_sdk/string_ext_function.rb', line 6 def is_all_up? return self.upcase == self end |