Method: Playbook::Height#height_props
- Defined in:
- lib/playbook/height.rb
#height_props ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/playbook/height.rb', line 9 def height_props selected_props = .keys.select { |sk| try(sk) } return nil unless selected_props.present? selected_props.map do |k| height_value = send(k) "height_#{height_value}" if height_values.include? height_value.to_s end.compact.join(" ") end |