lib/ident.rb in ident-0.0.2 vs lib/ident.rb in ident-0.0.3

- old
+ new

@@ -71,10 +71,10 @@ end # Returns an instance of {USERID} or {ERROR}, depending on the type of # reply. def self.from(s) - ports, type, *addinfo = s.split(':') + ports, type, *addinfo = s.split(':').map {|o| o.strip} klass = self.const_get(type.to_sym) klass.new(*addinfo) end end