Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/tagen/core/string/pyformat.rb,
lib/tagen/core/string.rb
Overview
class PyFormat
Constant Summary
- @@didits =
"0123456789"- @@hexdigits =
"01234567890ABCDEF"- @@octdigits =
"01234567"- @@uppercase =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"- @@lowercase =
"abcdefghijklmnopqrstuvwxyz"- @@letters =
@@uppercase + @@lowercase
Class Method Summary (collapse)
-
+ (String) digits
"0123456789".
-
+ (String) hexdigits
"01234567890ABCDEF".
-
+ (String) letters
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".
-
+ (String) lowercase
"abcdefghijklmnopqrstuvwxyz".
-
+ (String) octdigits
"01234567".
-
+ (String) uppercase
"ABCDEFGHIJKLMNOPQRSTUVWXYZ".
Instance Method Summary (collapse)
Class Method Details
+ (String) digits
"0123456789"
14 |
# File 'lib/tagen/core/string.rb', line 14 def digits; @@digits end |
+ (String) hexdigits
"01234567890ABCDEF"
19 |
# File 'lib/tagen/core/string.rb', line 19 def hexdigits; @@hexdigits end |
+ (String) letters
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
39 |
# File 'lib/tagen/core/string.rb', line 39 def letters; @@letters end |
+ (String) lowercase
"abcdefghijklmnopqrstuvwxyz"
34 |
# File 'lib/tagen/core/string.rb', line 34 def lowercase; @@lowercase end |
+ (String) octdigits
"01234567"
24 |
# File 'lib/tagen/core/string.rb', line 24 def octdigits; @@octdigits end |
+ (String) uppercase
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
29 |
# File 'lib/tagen/core/string.rb', line 29 def uppercase; @@uppercase end |
Instance Method Details
- (Object) format(*args)
333 |
# File 'lib/tagen/core/string/pyformat.rb', line 333 def format(*args) PyFormat.new(self).format *args end |