class PostTags

Included Modules

Defined in:

e6/types/post.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def all : Array(String) #

Returns an array containing all categories' tags, sorted alphabetically.


[View source]
def artist : Array(String) #

[View source]
def artist=(artist : Array(String)) #

[View source]
def character : Array(String) #

[View source]
def character=(character : Array(String)) #

[View source]
def copyright : Array(String) #

[View source]
def copyright=(copyright : Array(String)) #

[View source]
def first_artist(ignore_notices = true) : String #

Returns the first artist from an alphabetically sorted array of artists. ignore_notices ignores "contidional_dnp", "sound_warning" or any tags that do not belong to an artist.


[View source]
def general : Array(String) #

[View source]
def general=(general : Array(String)) #

[View source]
def invalid : Array(String) #

[View source]
def invalid=(invalid : Array(String)) #

[View source]
def lore : Array(String) #

[View source]
def lore=(lore : Array(String)) #

[View source]
def meta : Array(String) #

[View source]
def meta=(meta : Array(String)) #

[View source]
def species : Array(String) #

[View source]
def species=(species : Array(String)) #

[View source]