Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/core_ext/array.rb
Instance Method Summary collapse
Instance Method Details
#to_chr ⇒ Object
6 7 8 |
# File 'lib/core_ext/array.rb', line 6 def to_chr map { |el| el.chr } end |
#to_chr_string ⇒ Object
10 11 12 |
# File 'lib/core_ext/array.rb', line 10 def to_chr_string to_chr.join end |
#to_hex ⇒ Object
2 3 4 |
# File 'lib/core_ext/array.rb', line 2 def to_hex map { |el| el.to_hex_str } end |