Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lucky_svg_sprite_cli
v0.6.0
LuckySvgSpriteCli
Converter
Format
Generator
Inflector
MultiLineTag
SingleLineTag
Tag
TagFactory
TextTag
Built with Crystal 1.9.2
2023-10-08 14:52:55 UTC
class
LuckySvgSpriteCli::Converter
LuckySvgSpriteCli::Converter
Reference
Object
Defined in:
lucky_svg_sprite_cli/converter.cr
Constructors
.new
(input : String, format : Format =
Format
.new)
Class Method Summary
.from_file
(file : String, format : Format =
Format
.new)
.id_for_icon
(file : String)
Instance Method Summary
#convert
: String
#convert_tag
(tag)
#format
: LuckySvgSpriteCli::Format
#output
: IO::Memory
Constructor Detail
def self.
new
(input : String, format :
Format
=
Format
.new)
#
[
View source
]
Class Method Detail
def self.
from_file
(file : String, format :
Format
=
Format
.new)
#
[
View source
]
def self.
id_for_icon
(file : String)
#
[
View source
]
Instance Method Detail
def
convert
: String
#
[
View source
]
def
convert_tag
(tag)
#
[
View source
]
def
format
:
LuckySvgSpriteCli::Format
#
[
View source
]
def
output
: IO::Memory
#
[
View source
]