mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Run 'crystal tool format'
This commit is contained in:
parent
9f6be70995
commit
3a60286c3a
@ -9,7 +9,8 @@ abstract class Entry
|
|||||||
def initialize(
|
def initialize(
|
||||||
@id, @title, @book,
|
@id, @title, @book,
|
||||||
@size, @pages, @mtime,
|
@size, @pages, @mtime,
|
||||||
@encoded_path, @encoded_title, @err_msg)
|
@encoded_path, @encoded_title, @err_msg
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
|
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
|
||||||
|
@ -13,7 +13,6 @@ SUPPORTED_IMG_TYPES = %w(
|
|||||||
image/svg+xml
|
image/svg+xml
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def random_str
|
def random_str
|
||||||
UUID.random.to_s.gsub "-", ""
|
UUID.random.to_s.gsub "-", ""
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user