lib/ronin/software.rb in ronin-1.0.0 vs lib/ronin/software.rb in ronin-1.1.0.rc1
- old
+ new
@@ -16,14 +16,13 @@
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <http://www.gnu.org/licenses/>.
#
require 'ronin/model'
+require 'ronin/vendor'
module Ronin
- autoload :Vendor, 'ronin/vendor'
-
#
# Represents a Software product.
#
class Software
@@ -44,9 +43,11 @@
#
# Converts the software to a String.
#
# @return [String]
# The software vendor, name and version.
+ #
+ # @api public
#
def to_s
[self.vendor, self.name, self.version].compact.join(' ')
end