class Mistaker::Base

Attributes

length[R]
rand[R]
str[R]

Public Class Methods

mistake(str) click to toggle source
# File lib/mistaker/base.rb, line 5
def self.mistake(str)
  new(str).mistake
end
new(str = nil) click to toggle source
# File lib/mistaker/base.rb, line 9
def initialize(str = nil)
  @str = str
  @rand = Random.new
end

Public Instance Methods

reformat(str) click to toggle source
# File lib/mistaker/base.rb, line 14
def reformat(str)
  str
end