lib/kramdown/utils.rb in kramdown-1.15.0 vs lib/kramdown/utils.rb in kramdown-1.16.0

- old
+ new

@@ -19,9 +19,10 @@ autoload :Html, 'kramdown/utils/html' autoload :OrderedHash, 'kramdown/utils/ordered_hash' autoload :Unidecoder, 'kramdown/utils/unidecoder' autoload :StringScanner, 'kramdown/utils/string_scanner' autoload :Configurable, 'kramdown/utils/configurable' + autoload :LRUCache, 'kramdown/utils/lru_cache' # Treat +name+ as if it were snake cased (e.g. snake_case) and camelize it (e.g. SnakeCase). def self.camelize(name) name.split('_').inject('') {|s,x| s << x[0..0].upcase << x[1..-1] } end