Module: Primer::JoinStyleArgumentsHelper
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%"
9 10 11 |
# File 'lib/primer/join_style_arguments_helper.rb', line 9 def join_style_arguments(*args) args.compact.join(";") end |