Module: Primer::JoinStyleArgumentsHelper
- Included in:
- Component
- Defined in:
- app/lib/primer/join_style_arguments_helper.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#join_style_arguments(*args) ⇒ Object
Join two ‘style` arguments.
Instance Method Details
#join_style_arguments(*args) ⇒ Object
Join two ‘style` arguments
join_style_arguments(“width: 100%”, “height: 100%”) =>
"width: 100%;height: 100%"
10 11 12 |
# File 'app/lib/primer/join_style_arguments_helper.rb', line 10 def join_style_arguments(*args) args.compact.join(";") end |