Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.283 kb
require File.dirname(__FILE__) + '/../../spec_helper'
extended_on :rubinius do
describe "String#each_char" do
it "passes each char in self to the given block" do
a = []
"hello".each_char { |c| a << c }
a.should == ['h', 'e', 'l', 'l', 'o']
end
end
end
Jump to Line
Something went wrong with that request. Please try again.