lib/riak-shim/persistable.rb
# *WARNING:* This is very slow and is intended only for your tests,
# not for production use.
#
# Remove all instances of this class from Riak.
This is very slow and is intended only for your tests,
not for production use.

Remove all instances of this class from Riak.
This is very slow and is intended only for your tests not for production use . Remove all instances of this class from Riak .
def de_camel(classname)
          classname.gsub(/::/, '__').
            gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
            gsub(/([a-z\d])([A-Z])/,'\1_\2').
            tr("-", "_").
            downcase
        end
def de_camel ( classname ) classname . gsub ( / :: / , '__' ) . gsub ( / ([A-Z]+)([A-Z][a-z]) / , '\1_\2' ) . gsub ( / ([a-z \d ])([A-Z]) / , '\1_\2' ) . tr ( "-" , "_" ) . downcase end
WARNING:* This is very slow and is intended only for your tests,
not for production use.
WARNING : * This is very slow and is intended only for your tests not for production use .
classname