Class: Remi::Extractor::SftpFile::SortDesc

Inherits:
Struct
  • Object
show all
Defined in:
lib/remi/extractor/sftp_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value



26
27
28
# File 'lib/remi/extractor/sftp_file.rb', line 26

def value
  @value
end

Instance Method Details

#<=>(target) ⇒ Object



27
28
29
# File 'lib/remi/extractor/sftp_file.rb', line 27

def <=> (target)
  -(self.value <=> target.value)
end