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)



74
75
76
# File 'lib/rbCFPropertyList.rb', line 74

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



80
81
82
# File 'lib/rbCFPropertyList.rb', line 80

def blob?
  blob
end

#bytesizeObject



86
87
88
# File 'lib/rbCFPropertyList.rb', line 86

def bytesize
  self.length
end