class Addressable::URI

def defer_validation

Experimental RBS support (using type sampling data from the type_fusion project).

def defer_validation: () -> nil

This signature was generated using 119 samples from 4 applications.

Parameters:
  • block (Proc) --
def defer_validation
  raise LocalJumpError, "No block given." unless block_given?
  @validation_deferred = true
  yield
  @validation_deferred = false
  validate
ensure
  @validation_deferred = false
end