lucky_svg_sprite_cli
master
LuckySvgSpriteCli
Converter
Format
Generator
Inflector
MultiLineTag
SingleLineTag
Tag
TagFactory
TextTag
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
]