class HoboFields::Types::LifecycleState

Constants

COLUMN_TYPE

Attributes

model_name[RW]

Public Instance Methods

to_html(xmldoctype = true) click to toggle source
# File lib/hobo_fields/types/lifecycle_state.rb, line 11
def to_html(xmldoctype = true)
  I18n.t("activerecord.attributes.#{self.class.model_name.underscore}.lifecycle.states.#{self}", :default => self).html_safe
end