class Locomotive::Wagon::ContentTypeFieldDecorator::SelectOptionDecorator

Public Instance Methods

__attributes__() click to toggle source
# File lib/locomotive/wagon/decorators/content_type_field_decorator.rb, line 69
def __attributes__
  %i(name)
end
name() click to toggle source
# File lib/locomotive/wagon/decorators/content_type_field_decorator.rb, line 73
def name
  translations = __getobj__.name.translations
  translations.empty? ? translations[:any] : translations
end