#!/usr/bin/env ruby # -*- coding: utf-8 -*- #気分で書く。そのうち。ちょっとずつね。楽しそうにしたいから。 #items_to_sort は配列かなー require'curses' class Array def next(index = 0) #p "this is array class."#test self[index+1] end end #p ["a","B","6"].next(1) #test =begin class Sort def bubble_sort(items_to_sort) #まずは基礎から! items_to_sort.each do|items| if items > =end