Class: Accessionable::ArrayExpressTag
- Defined in:
- app/models/accessionable/sample.rb
Constant Summary
Constants inherited from Base::Tag
Instance Attribute Summary
Attributes inherited from Base::Tag
Instance Method Summary collapse
Methods inherited from Base::Tag
#build, #field_serializer_for, #initialize
Constructor Details
This class inherits a constructor from Accessionable::Base::Tag
Instance Method Details
#label ⇒ Object
120 121 122 123 |
# File 'app/models/accessionable/sample.rb', line 120 def label default_tag = "ArrayExpress-#{I18n.t("#{@scope}.#{@name}.label").tr(' ', '_').camelize}" I18n.t("#{@scope}.#{@name}.ena_label", default: default_tag) end |