Class: Fastlane::Helper::PatchHelper
- Inherits:
-
Object
- Object
- Fastlane::Helper::PatchHelper
- Defined in:
- lib/fastlane/plugin/patch/helper/patch_helper.rb
Class Method Summary collapse
Class Method Details
.files_from_params(params) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fastlane/plugin/patch/helper/patch_helper.rb', line 5 def files_from_params(params) case params[:files] when Array params[:files].map(&:to_s) when String params[:files].split(",") else raise ArgumentError, "Invalid type #{params[:files].class} for :files option. Specify an Array or a String." end end |