Sha256: 8f78f28616176af95bb8e05ced3790e00c68ef51c5f7a9ead8f81a46e52a8853
Contents?: true
Size: 740 Bytes
Versions: 6
Compression:
Stored size: 740 Bytes
Contents
# typed: strong # frozen_string_literal: true # manual RBI definitions used by this project class Magick::ImageList sig { params(string: String, block: T.nilable(T.proc.params(arg0: Integer, arg1: Integer, arg2: Magick::Image).void)).void } def change_geometry!(string, &block); end sig { returns(NilClass) } def destroy!; end sig { params(width: Integer, height: Integer, gravity: Magick::GravityType).returns(Magick::Image)} def resize_to_fill!(width, height, gravity=Magick::CenterGravity); end # the `info` block should be `T.nilable`, but https://github.com/sorbet/sorbet/issues/498 says "No!" sig { params(filename: String, info: T.proc.bind(Magick::Image::Info).void).void } def write(filename, &info); end end
Version data entries
6 entries across 6 versions & 1 rubygems