lib/qualitysmith_extensions/array/sequence.rb in qualitysmith_extensions-0.0.3 vs lib/qualitysmith_extensions/array/sequence.rb in qualitysmith_extensions-0.0.4
- old
+ new
@@ -1,8 +1,10 @@
+#--
# Author:: Lance Ivy
# Copyright:: Copyright (c) 2007 QualitySmith, Inc.
# License:: Ruby License
# Submit to Facets?:: Not sure.
+#++
class Array
=begin rdoc
Returns the value previous to the given value. The value previous to the first is the last. Returns nil if the given value is not in the array.