Sha256: 321894e8df4f123b264fbb9fbc894e8c7104b3e013bccbc296c10f03a6f522ba
Contents?: true
Size: 333 Bytes
Versions: 9
Compression:
Stored size: 333 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' include V8 describe V8::To do it "can convert into perl case" do To.perl_case("foo").should == "foo" To.perl_case("fooBar").should == "foo_bar" To.perl_case("fooBarBaz").should == "foo_bar_baz" To.perl_case("XMLDocument").should == "xml_document" end end
Version data entries
9 entries across 9 versions & 1 rubygems