Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def bar=(value)
- @property_flush[:bar] = value
- end
- def baz=(value)
- @property_flush[:baz] = value
- end
- def flush
- array_arguments = []
- if @property_flush
- array_arguments << '--bar' << @property_flush[:bar] if @property_flush[:bar]
- array_arguments << '--baz' << @property_flush[:baz] if @property_flush[:baz]
- end
- if ! array_arguments.empty?
- fooset(array_arguments, resource[:name])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement