Sha256: a557fd3eb3a1a83156ee76a39693a8ecf98511e4db7deeddd86548db45363baf
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Yattho # :nodoc: module JoinStyleArgumentsHelper # Join two `style` arguments # # join_style_arguments("width: 100%", "height: 100%") => # "width: 100%;height: 100%" def join_style_arguments(*args) args.compact.join(";") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | app/lib/yattho/join_style_arguments_helper.rb |
yattho_view_components-0.0.1 | app/lib/yattho/join_style_arguments_helper.rb |