Class: Ronin::Software

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/ronin/software.rb

Overview

Represents a Software product.

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#to_sString

Converts the software to a String.

Returns:

  • (String)

    The software vendor, name and version.


51
52
53
# File 'lib/ronin/software.rb', line 51

def to_s
  [self.vendor, self.name, self.version].compact.join(' ')
end