<commit_before>#Rugo [![Build Status](https://travis-ci.org/wallclockbuilder/rugo.svg)](https://travis.org/wallclockbuilder/rugo)


Ruby's string manipulation magic brought to Golang

Why?
>  "What was the biggest surprise you encountered rolling out Go?" I knew the answer instantly: Although we expected C++ programmers to see Go as an alternative, instead **most Go programmers come from languages like Python and Ruby**.
 <NAME>, [Less is exponentially more](http://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html)

Rugo makes all the string manipulation methods from ruby accessible in go.


###Install
```bash
 go get https://github.com/wallclockbuilder/rugo
```

###Import
```golang
 import "xstrings" "https://github.com/wallclockbuilder/rugo/xstrings"
```

###Use
```golang
package main
import "github.com/wallclockbuilder/rugo/xstrings"

func main() {
  xstrings.Capitalize("abcde")          #=> "ABCDE"
  xstrings.Prepend("capt. ", "planet")  #=> "capt. planet"
  xstrings.Swapcase("Hello")            #=> "hELLO"
}
```

###Method list
- [ ] ascii_only?
- [ ] b
- [ ] bytes
- [ ] bytesize
- [ ] byteslice
- [x] capitalize
- [ ] capitalize!
- [ ] casecmp
- [ ] center
- [ ] chars
- [x] chomp
- [ ] chomp!
- [x] chop
- [ ] chop!
- [x] chr
- [ ] clear
- [ ] codepoints
- [ ] concat
- [ ] count
- [ ] crypt
- [ ] delete
- [ ] delete!
- [ ] downcase
- [ ] downcase!
- [ ] dump
- [ ] each_byte
- [ ] each_char
- [ ] each_codepoint
- [ ] each_line
- [ ] empty?
- [ ] encode
- [ ] encode!
- [ ] encoding
- [ ] end_with?
- [ ] eql?
- [ ] force_encoding
- [ ] getbyte
- [ ] gsub
- [ ] gsub!
- [ ] hash
- [ ] hex
- [ ] include?
- [ ] index
- [ ] initialize_copy
- [ ] insert
- [ ] inspect
- [ ] intern
- [ ] length
- [ ] lines
- [ ] ljust
- [ ] lstrip
- [ ] lstrip!
- [ ] match
- [ ] next
- [ ] next!
- [ ] oct
- [ ] ord
- [ ] partition
- [x] prepend
- [ ] replace
- [x] reverse
- [ ] reverse!
- [ ] rindex
- [ ] rjust
- [ ] rpartition
- [ ] rstrip
- [ ] rstrip!
- [ ] scan
- [ ] scrub
- [ ] scrub!
- [ ] setbyte
- [ ] size
- [ ] slice
- [ ] slice!
- [ ] split
- [ ] squeeze
- [ ] squeeze!
- [ ] start_with?
- [ ] strip
- [ ] strip!
- [ ] sub
- [ ] sub!
- [ ] succ
- [ ] succ!
- [ ] sum
- [ ] swapcase
- [ ] swapcase!
- [ ] to_c
- [ ] to_f
- [ ] to_i<commit_msg>Strip done. Cross off.<commit_after>#Rugo [![Build Status](https://travis-ci.org/wallclockbuilder/rugo.svg)](https://travis.org/wallclockbuilder/rugo)


Ruby's string manipulation magic brought to Golang

Why?
>  "What was the biggest surprise you encountered rolling out Go?" I knew the answer instantly: Although we expected C++ programmers to see Go as an alternative, instead **most Go programmers come from languages like Python and Ruby**.
 <NAME>, [Less is exponentially more](http://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html)

Rugo makes all the string manipulation methods from ruby accessible in go.


###Install
```bash
 go get https://github.com/wallclockbuilder/rugo
```

###Import
```golang
 import "xstrings" "https://github.com/wallclockbuilder/rugo/xstrings"
```

###Use
```golang
package main
import "github.com/wallclockbuilder/rugo/xstrings"

func main() {
  xstrings.Capitalize("abcde")          #=> "ABCDE"
  xstrings.Prepend("capt. ", "planet")  #=> "capt. planet"
  xstrings.Swapcase("Hello")            #=> "hELLO"
}
```

###Method list
- [ ] ascii_only?
- [ ] b
- [ ] bytes
- [ ] bytesize
- [ ] byteslice
- [x] capitalize
- [ ] capitalize!
- [ ] casecmp
- [ ] center
- [ ] chars
- [x] chomp
- [ ] chomp!
- [x] chop
- [ ] chop!
- [x] chr
- [ ] clear
- [ ] codepoints
- [ ] concat
- [ ] count
- [ ] crypt
- [ ] delete
- [ ] delete!
- [ ] downcase
- [ ] downcase!
- [ ] dump
- [ ] each_byte
- [ ] each_char
- [ ] each_codepoint
- [ ] each_line
- [ ] empty?
- [ ] encode
- [ ] encode!
- [ ] encoding
- [ ] end_with?
- [ ] eql?
- [ ] force_encoding
- [ ] getbyte
- [ ] gsub
- [ ] gsub!
- [ ] hash
- [ ] hex
- [ ] include?
- [ ] index
- [ ] initialize_copy
- [ ] insert
- [ ] inspect
- [ ] intern
- [ ] length
- [ ] lines
- [ ] ljust
- [ ] lstrip
- [ ] lstrip!
- [ ] match
- [ ] next
- [ ] next!
- [ ] oct
- [ ] ord
- [ ] partition
- [x] prepend
- [ ] replace
- [x] reverse
- [ ] reverse!
- [ ] rindex
- [ ] rjust
- [ ] rpartition
- [ ] rstrip
- [ ] rstrip!
- [ ] scan
- [ ] scrub
- [ ] scrub!
- [ ] setbyte
- [ ] size
- [ ] slice
- [ ] slice!
- [ ] split
- [ ] squeeze
- [ ] squeeze!
- [ ] start_with?
- [x] strip
- [ ] strip!
- [ ] sub
- [ ] sub!
- [ ] succ
- [ ] succ!
- [ ] sum
- [ ] swapcase
- [ ] swapcase!
- [ ] to_c
- [ ] to_f
- [ ] to_i
{'fraction_non_alphanumeric': 0.19645591774228835, 'fraction_numerical': 0.0026252461168234523, 'mean_word_length': 2.602836879432624, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '695170', 'n_tokens_mistral': 1788, 'n_tokens_neox': 1730, 'n_words': 381}