struct Lucky::FormatRegistry::CustomFormat

Overview

Represents a custom format that users can register

Defined in:

lucky/format_registry.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank? : Bool blank?, present? : Bool present?

Constructor Detail

def self.new(name : String, extension : String, mime_type : String) #

[View source]

Instance Method Detail

def extension : String #

[View source]
def mime_type : String #

[View source]
def name : String #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]