Class: Kerbi::Cli::FullEntryRowSerializer

Inherits:
BaseSerializer show all
Includes:
EntrySerializationHelpers
Defined in:
lib/cli/entry_serializers.rb

Instance Attribute Summary

Attributes inherited from BaseSerializer

#context, #object, #parent_object

Instance Method Summary collapse

Methods included from EntrySerializationHelpers

#colored_tag, #defined_or_na

Methods inherited from BaseSerializer

associations, #attribute_value, attributes, has_attributes, has_many, has_one, header_titles, #initialize, #key, #limit_has_many, possessions, #serialize, serialize, #serialize_associations, #serialize_flat_attrs, serialize_many, #serialize_possessions, #serialized_relation_value

Constructor Details

This class inherits a constructor from Kerbi::Cli::BaseSerializer

Instance Method Details

#releaseObject



60
61
62
# File 'lib/cli/entry_serializers.rb', line 60

def release
  object&.set&.release_name
end

#tagObject



55
56
57
58
# File 'lib/cli/entry_serializers.rb', line 55

def tag
  #noinspection RubyResolve
  colored_tag.bold
end