Sha256: 76a701cc4f796d1c2c7ff8da937d51425ced021dae2d25e4d8ae315717acd97a
Contents?: true
Size: 198 Bytes
Versions: 2
Compression:
Stored size: 198 Bytes
Contents
class String # Converts this string into a valid Ruby constant name. def to_ruby_const_name self[0, 1].upcase << self[1..-1] end def rstrip_from a sub(/#{a}[^#{a}]*$/, '') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-18.0.0 | lib/ruby-vpi/util.rb |
ruby-vpi-17.0.0 | lib/ruby-vpi/util.rb |