Module: Yattho::JoinStyleArgumentsHelper

Included in:
Component
Defined in:
app/lib/yattho/join_style_arguments_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

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/yattho/join_style_arguments_helper.rb', line 10

def join_style_arguments(*args)
  args.compact.join(";")
end