Sha256: 86eb4f24d9f5b491e9bb2e9b4885dbd27089513ce65bb3a9fcf76a4caaa27a3e
Contents?: true
Size: 145 Bytes
Versions: 1
Compression:
Stored size: 145 Bytes
Contents
## # Provides a helper to have default values module HSS class Parser def default(a, b) a.nil? || a.empty? ? b : a end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hss-1.1.0 | spec/test/good_helpers/default.rb |