class String

Public Instance Methods

distance(other) click to toggle source
# File lib/rust-probabilities.rb, line 27
def distance(other)
    raise TypeError, "no implicit conversion of #{other.class} into String" unless other.is_a? String
    
    return self.bytes.distance other.bytes
end
to_R() click to toggle source
# File lib/rust-core.rb, line 810
def to_R
    return self.inspect
end