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