Method: Puppet::FileBucket::File#size

Defined in:
lib/puppet/file_bucket/file.rb

#sizeNum

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns The size of the contents.

Returns:

  • (Num)

    The size of the contents



38
39
40
# File 'lib/puppet/file_bucket/file.rb', line 38

def size
  @contents.size()
end