mrbgems/mruby-symbol-ext/README.md
This gem extends mruby's Symbol class with additional useful methods.
Here are the methods added to the Symbol class:
capitalizesym.capitalize -> symbolsym.to_s.capitalize.intern.downcasesym.downcase -> symbolsym.to_s.downcase.intern.upcasesym.upcase -> symbolsym.to_s.upcase.intern.casecmp(other_symbol)sym.casecmp(other) -> -1, 0, +1 or nilother_symbol is a symbol. Returns nil if other_symbol is not a symbol.casecmp?(other_symbol)sym.casecmp?(other) -> true, false, or niltrue if the receiver and other_symbol are equal after case folding, false if they are not equal. Returns nil if other_symbol is not a symbol.empty?sym.empty? -> true or falsetrue if the symbol's string representation is empty (i.e., :""), false otherwise.length / sizesym.length -> integersym.size -> integersize is an alias for length.Symbol.all_symbols (Conditional)Symbol.all_symbols => arrayMRB_USE_ALL_SYMBOLS define.