Method: Array#matches

Defined in:
lib/libsessho.rb

#matches(s) ⇒ Object



73
74
75
76
77
# File 'lib/libsessho.rb', line 73

def matches(s)
	matcharr = Array.new
	self.each_with_index{|c,i|c==s&&matcharr<<i}
	return matcharr
end