method

is_binary_data?

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: String
is_binary_data?() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/yaml/rubytypes.rb, line 145
    def is_binary_data?
        ( self.count( "^ -~", "^\r\n" ).fdiv(self.size) > 0.3 || self.index( "\x00" ) ) unless empty?
    end
Register or log in to add new notes.