class Array # Returns an array of the first element upto, # but not including, the last element. # # [1,2,3].bulk #=> [1,2] # def body slice(0,length-1) end end # _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # =begin test require 'test/unit' class TCArray < Test::Unit::TestCase def test_body a = [1,2,3,4,5] assert_equal( [1,2,3,4], a.body ) end end =end