Documented Block, some renames

This commit is contained in:
Jae Kwon
2014-12-23 01:35:54 -08:00
parent 403d24a4b2
commit 62ff48c02b
12 changed files with 174 additions and 83 deletions

View File

@ -139,10 +139,10 @@ func (bA BitArray) PickRandom() (uint, bool) {
}
func (bA BitArray) String() string {
return bA.StringWithIndent("")
return bA.StringIndented("")
}
func (bA BitArray) StringWithIndent(indent string) string {
func (bA BitArray) StringIndented(indent string) string {
lines := []string{}
bits := ""
for i := uint(0); i < bA.Bits; i++ {