class RSpec::Matchers::BuiltIn::BeWithin

def percent_of(expected)

def percent_of(expected)
  @expected  = expected
  @tolerance = @delta * @expected.abs / 100.0
  @unit      = '%'
  self
end