Method: Ui::DescriptiveList::Item#display
- Defined in:
- lib/ui/descriptive_list/item.rb
#display(value) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/ui/descriptive_list/item.rb', line 21 def display(value) if value.is_a?(Proc) value.call else value end end |