Class: LaunchCraft::Update::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/launchcraft/update.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



33
34
35
# File 'lib/launchcraft/update.rb', line 33

def file
  @file
end

#lengthObject Also known as: size

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



33
34
35
# File 'lib/launchcraft/update.rb', line 33

def length
  @length
end

#md5Object

Returns the value of attribute md5

Returns:

  • (Object)

    the current value of md5



33
34
35
# File 'lib/launchcraft/update.rb', line 33

def md5
  @md5
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



33
34
35
# File 'lib/launchcraft/update.rb', line 33

def url
  @url
end

Instance Method Details

#to_sObject



37
38
39
# File 'lib/launchcraft/update.rb', line 37

def to_s
  file
end