module LuckySvgSpriteCli::Inflector

Defined in:

lucky_svg_sprite_cli/inflector.cr

Class Method Summary

Class Method Detail

def self.classify(value : String, from_path = false) #

Convert a given string in to a classified version:

Inflector.classify("some-string")
# => "SomeString"
Inflector.classify("/some/file/path/some-name.svg", from_path: true)
# => "SomeName"

[View source]
def self.dasherize(value : String, from_path = false, from_class = false) #

[View source]