Methods

Files

Axiom::Types::Encodable

Add encoding constraints to a type

Public Instance Methods

finalize() click to toggle source

Finalize by setting up a primitive constraint

@return [Axiom::Types::Encodable]

@api private

# File lib/axiom/types/encodable.rb, line 34
def finalize
  return self if frozen?
  ascii_compatible? ? use_ascii_compatible_encoding : use_encoding
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.