Class: BinaryString
Class Method Summary collapse
Methods inherited from String
Class Method Details
.create(from_string) ⇒ Object
2 3 4 5 |
# File 'lib/q/binary_string.rb', line 2 def self.create from_string from_string.force_encoding "BINARY" from_string end |