Class: BinaryString

Inherits:
String show all
Defined in:
lib/q/binary_string.rb

Class Method Summary collapse

Methods inherited from String

#to_pascal

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