Sha256: 3924aba838e314fa2fad2158cd15e9d3e2030a0e0a152195ae3a60bd58531840
Contents?: true
Size: 362 Bytes
Versions: 124
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true RSpec.describe :deconstantize do link :deconstantize, from: :ree_string it { expect(deconstantize('Net::HTTP')).to eq("Net") expect(deconstantize('::Net::HTTP')).to eq("::Net") expect(deconstantize('String')).to eq("") expect(deconstantize('::String')).to eq("") expect(deconstantize('')).to eq("") } end
Version data entries
124 entries across 124 versions & 1 rubygems