Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/rbCFPropertyList.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blobObject

The blob status of this string (to set to true if a binary string)



64
65
66
# File 'lib/rbCFPropertyList.rb', line 64

def blob
  @blob
end

Instance Method Details

#blob?true, false

Returns whether or not str is a blob.

Returns:

  • (true, false)

    If true, this string contains binary data. If false, its a regular string



70
71
72
# File 'lib/rbCFPropertyList.rb', line 70

def blob?
  blob
end

#bytesizeObject



76
77
78
# File 'lib/rbCFPropertyList.rb', line 76

def bytesize
  self.length
end