Commit 9d443a00 authored by m.pausch's avatar m.pausch
Browse files

Let the stdlib convert this to array

parent 8847f2bc
......@@ -19,7 +19,7 @@
property :to, [Array, String],
# turn Strings into Arrays for simplicity:
coerce: proc { |t| t.is_a?(String) ? [t] : t }
coerce: proc { |t| Array(t) }
property :aliases_file, String, default: '/etc/aliases'
default_action :add
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment