Method: ERBLint::Linters::ArgumentMappers::Label#attribute_to_args
- Defined in:
- lib/primer/view_components/linters/argument_mappers/label.rb
permalink #attribute_to_args(attribute) ⇒ Object
[View source]
34 35 36 |
# File 'lib/primer/view_components/linters/argument_mappers/label.rb', line 34 def attribute_to_args(attribute) { title: erb_helper.convert(attribute) } end |