method

strict_oct

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: TarHeader
strict_oct(str) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.