Sha256: 5f2e32adc71bc8c3bb96043db4eafa9d6f5d0294ee212dcb1d80315ee5fb0f7e
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
module HoboFields module Types class LifecycleState < String COLUMN_TYPE = :string class << self attr_accessor :table_name end def to_html(xmldoctype = true) I18n.t("#{self.class.table_name}.states.#{self}", :default => self) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems