File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# encoding: UTF-8
22
33require 'pmap'
4- $pmap_default_thread_count = 20
4+ $pmap_default_thread_count = 20 # rubocop:disable GlobalVars
55
66# GoodData Module
77module GoodData
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ module Mixin
2121 # To use it, drop it in spec/support/inspector.rb and class_eval the models to
2222 # override `inspect`.
2323 module Inspector
24-
2524 def inspect
2625 string = "#<#{ self . class . name } :#{ object_id } "
2726 fields = self . class . inspector_fields . map { |field | "#{ field } : #{ send ( field ) } " }
@@ -32,11 +31,11 @@ def self.inspected
3231 @inspected ||= [ ]
3332 end
3433
35- def self . included source
34+ def self . included ( source )
3635 # $stdout.puts "Overriding inspect on #{source}"
3736 inspected << source
3837 source . class_eval do
39- def self . inspector *fields
38+ def self . inspector ( *fields )
4039 @inspector_fields = *fields
4140 end
4241
You can’t perform that action at this time.
0 commit comments