method

strict_oct

strict_oct(str)
public

No documentation available.

# File lib/rubygems/package/tar_header.rb, line 127
  def self.strict_oct(str)
    return str.oct if str =~ /\A[0-7]*\z/
    raise ArgumentError, "#{str.inspect} is not an octal string"
  end