From 45ef55c7b5c60e43340254f83260c858d3cc59dd Mon Sep 17 00:00:00 2001 From: elCuervo Date: Mon, 20 Jan 2014 21:24:05 -0200 Subject: [PATCH] Removes redundant struct --- bin/dep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dep b/bin/dep index 192277f..6280451 100755 --- a/bin/dep +++ b/bin/dep @@ -36,7 +36,7 @@ module Dep end end - class Lib < Struct.new(:name, :version) + Lib = Struct.new(:name, :version) do def self.[](line) if line.strip =~ /^(\S+) -v (\S+)$/ return new($1, $2)