abstract class LuckySvgSpriteCli::Tag

Direct Known Subclasses

Defined in:

lucky_svg_sprite_cli/tags/tag.cr

Constant Summary

ATTR_TO_AVOID = ["class", "id", "style"] of ::String
NAMED_TAGS = (Lucky::BaseTags::TAGS + Lucky::BaseTags::EMPTY_TAGS) + Lucky::BaseTags::RENAMED_TAGS.values.to_a
QUOTE = '"'
TOP_ATTR_TO_AVOID = ["version", "xmlns"] of ::String

Constructors

Instance Method Summary

Constructor Detail

def self.new(tag : Myhtml::Node, depth : Int32, format : Format) #

[View source]

Instance Method Detail

def attr_parameters #

[View source]
def attr_text #

[View source]
def convert_attributes_to_parameters #

[View source]
def depth : Int32 #

[View source]

[View source]
def method_joiner #

[View source]
def method_name #

[View source]
def padding #

[View source]
abstract def print_io(io : IO) : IO #

[View source]
def squish(string : String) #

[View source]
def tag : Myhtml::Node #

[View source]