Class: Fastlane::Actions::PeripheryAction::Results
- Inherits:
-
Array
- Object
- Array
- Fastlane::Actions::PeripheryAction::Results
- Defined in:
- lib/fastlane/plugin/periphery/actions/periphery_action.rb
Overview
fastlane dumps the ‘Lane Context’ when an action fails Because the results array can contain thousands of items, we don’t want to dump them all in the console. Instead, use a custom array which limits the output
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
34 35 36 37 |
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 34 def to_s return super.to_s if length < 2 "[#{first.inspect}, ...] (#{length} items)" end |