lib/uuid/ncname.rb in uuid-ncname-0.2.4 vs lib/uuid/ncname.rb in uuid-ncname-0.2.5

- old
+ new

@@ -210,13 +210,13 @@ # @param radix [nil, 32, 64] Optional radix; will use heuristic if omitted. # # @param format [:str, :hex, :b64, :bin] An optional formatting # parameter; defaults to `:str`, the canonical string representation. # - # @param version [0, 1] See #to_ncname. Defaults to 1. + # @param version [0, 1] See ::to_ncname. Defaults to 1. # - # @param align [nil, true, false] See #to_ncname for details. + # @param align [nil, true, false] See ::to_ncname for details. # Setting this parameter to `nil`, the default, will cause the # decoder to detect the alignment state from the identifier. # # @param validate [false, true] Check that the ninth octet is # correctly masked _after_ decoding. @@ -273,13 +273,13 @@ # Shorthand for conversion to the Base64 version # # @param uuid [#to_s] The UUID # - # @param version [0, 1] See #to_ncname. + # @param version [0, 1] See ::to_ncname. # - # @param align [true, false] See #to_ncname. + # @param align [true, false] See ::to_ncname. # # @return [String] The Base64-encoded NCName def self.to_ncname_64 uuid, version: nil, align: true to_ncname uuid, version: version, align: align @@ -289,13 +289,13 @@ # # @param ncname [#to_s] The Base64 variant of the NCName-encoded UUID # # @param format [:str, :hex, :b64, :bin] The format # - # @param version [0, 1] See #to_ncname. + # @param version [0, 1] See ::to_ncname. # - # @param align [true, false] See #to_ncname. + # @param align [true, false] See ::to_ncname. # # @return [String, nil] The corresponding UUID or nil if the input # is malformed. def self.from_ncname_64 ncname, format: :str, version: nil, align: nil @@ -304,13 +304,13 @@ # Shorthand for conversion to the Base32 version # # @param uuid [#to_s] The UUID # - # @param version [0, 1] See #to_ncname. + # @param version [0, 1] See ::to_ncname. # - # @param align [true, false] See #to_ncname. + # @param align [true, false] See ::to_ncname. # # @return [String] The Base32-encoded NCName def self.to_ncname_32 uuid, version: nil, align: true to_ncname uuid, radix: 32, version: version, align: align @@ -320,12 +320,12 @@ # # @param ncname [#to_s] The Base32 variant of the NCName-encoded UUID # # @param format [:str, :hex, :b64, :bin] The format # - # @param version [0, 1] See #to_ncname. + # @param version [0, 1] See ::to_ncname. # - # @param align [true, false] See #to_ncname. + # @param align [true, false] See ::to_ncname. # # @return [String, nil] The corresponding UUID or nil if the input # is malformed. def self.from_ncname_32 ncname, format: :str, version: nil, align: nil