Class: Fastlane::Actions::PeripheryAction::Results

Inherits:
Array
  • Object
show all
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

github.com/liamnichols/fastlane-plugin-periphery/issues/2

Instance Method Summary collapse

Instance Method Details

#to_sObject



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