ml.ruby-lang.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

ruby-core

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
ruby-core@ml.ruby-lang.org

January 2026

  • 5 participants
  • 135 discussions
[ruby-core:124426] [Ruby Feature#6012] Proc#source_location also return the column
by Eregon (Benoit Daloze) 07 Jan '26

07 Jan '26
Issue #6012 has been updated by Eregon (Benoit Daloze). mame (Yusuke Endoh) wrote in #note-43: > However, we should consider the fact that code like `source_location.last` actually exists in the wild, as RSpec fixed in advance. It seems this idiom is used in quite a few gems. This change has been in all 3.5 and 4.0 preview builds and seems to have caused very little incompatibility. It will have another full year before the 4.1 release, so I think this is no problem. BTW, if we remove tests & specs from that list (since they wouldn't break any code) we have: ``` $ cat matches.txt | grep -Fv '_spec.rb' | grep -Fv '_test.rb' | grep -Fv '/test_' 1980-01-01 /srv/gems/minitest-junit-2.1.0/lib/minitest/junit.rb: testcase['line'] = result.source_location.last 1980-01-02 /srv/gems/ci-queue-0.81.0/lib/minitest/queue/junit_reporter.rb: lineno = tests.first.source_location.last 1980-01-02 /srv/gems/command_deck-0.3.3/TAGS: def lineno() @binding.source_location.last endlineno11,0 1980-01-02 /srv/gems/grape_rails_logger-1.2.0/lib/grape_rails_logger/subscriber.rb: line = endpoint.source.source_location.last 1980-01-02 /srv/gems/itsi-0.2.20/gems/server/lib/itsi/server/typed_handlers/source_parser.rb: proc_line = source_location.last - 1 1980-01-02 /srv/gems/itsi-server-0.2.20/lib/itsi/server/typed_handlers/source_parser.rb: proc_line = source_location.last - 1 1980-01-02 /srv/gems/mutant-0.14.1/lib/mutant/matcher/method.rb: source_location.last 1980-01-02 /srv/gems/openhab-scripting-5.44.0/lib/openhab/dsl/rules/name_inference.rb: "#{file}:#{block.source_location.last}".tr(".", "_") 1980-01-02 /srv/gems/pry-0.16.0/lib/pry/wrapped_module/candidate.rb: last_method_source_location.last 1980-01-02 /srv/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/scnr-introspector-0.3.2/lib/scnr/introspector/data_flow/sink.rb: lineno = @method_source_location.last 2011-09-03 /srv/gems/minecraft-0.3.3/lib/minecraft/extensions.rb: src_b, src_e = get_comment_range(meth.source_location.last) 2012-10-25 /srv/gems/rubymirrors-0.0.3/lib/ruby/reflection/method_mirror.rb: source_location.last - 1 2015-02-02 /srv/gems/billygoat-0.0.7.2/lib/billygoat/documentation.rb: @line_number ||= self.method.source_location.last 2015-04-01 /srv/gems/turnip-dry_run-0.1.0/lib/turnip/dry_run.rb: step_method.source_location.last 2015-04-18 /srv/gems/fare-0.1.8/lib/fare/configuration_dsl.rb: raise "No run list specified for stack on line #{(a)source_location.last} of #{(a)source_location.first}" 2015-04-18 /srv/gems/fare-0.1.8/lib/fare/configuration_dsl.rb: raise "Stack without topics for stack on line #{(a)source_location.last} of #{(a)source_location.first}" 2015-11-12 /srv/gems/git_compound-0.2.2/lib/git_compound/logger/debug/task.rb: "in line `#{(a)block.source_location.last}`, " \ 2015-12-08 /srv/gems/minirails-0.2.0/lib/minirails.rb: c.instance_method(m).source_location.last 2016-05-06 /srv/gems/matest-1.7.4/lib/matest/example_block.rb: lineno = block.source_location.last 2016-05-22 /srv/gems/transform_tree-0.3.1/lib/transform_tree/node.rb: "#{File.basename closure.source_location.first}:#{closure.source_location.last}" 2019-02-11 /srv/gems/mutest-0.0.10/lib/mutest/matcher/method.rb: source_location.last 2019-03-11 /srv/gems/pomodorokun-0.1.0/bundle/ruby/2.4.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-01-03 /srv/gems/puppet-function-updater-0.0.5/lib/pfu/parser.rb: return [funcname, opts, block.source_location.last] 2020-11-28 /srv/gems/spud-0.2.10/lib/spud/block_param_info.rb: line = File.read((a)filename).split("\n")[(a)block.source_location.last - 1] 2021-03-04 /srv/gems/dialekt-0.1.0/lib/dialekt/util/call_adapter.rb: "#{File.basename(@callable.source_location.first)}:#{@callable.source_location.last}" 2021-09-17 /srv/gems/loupe-0.1.5/lib/loupe/executor.rb: line_numbers.include?(klass.instance_method(method_name).source_location.last.to_s) 2021-11-23 /srv/gems/glimmer-dsl-specification-0.0.5/lib/glimmer/specification/element/fact.rb: source_code = PutsDebuggerer::SourceFile.new(@block.source_location.first).source(1, @block.source_location.last) 2022-05-02 /srv/gems/boothby-0.1.1/lib/boothby/seeds.rb: methods.sort_by { |method| seed_class.method(method).source_location.last } 2022-05-02 /srv/gems/boothby-0.1.1/lib/boothby/seeds.rb: methods.sort_by { |method| seed_class.method(method).source_location.last } 2022-11-24 /srv/gems/opal-rspec-1.0.0/rspec-expectations/upstream/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-12-28 /srv/gems/pork-2.1.0/lib/pork/extra/show_source.rb: lowers = test.source_location.last 2023-01-06 /srv/gems/takuya-lvm-snapshot-0.1.0/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-03-04 /srv/gems/blinka-reporter-0.8.0/lib/blinka_reporter/minitest_adapter.rb: @line ||= source_location.last 2023-09-05 /srv/gems/web-console-4.2.1/lib/web_console/source_location.rb: def lineno() @binding.source_location.last end 2023-12-18 /srv/gems/ali-cli-0.0.2/lib/ali/template.rb: Rouge.highlight "\n#{"".ljust(indent, " ")}# #{task_path}:#{source_location.last}\n#{source}", lexer, formatter 2023-12-18 /srv/gems/builder_apm-0.5.14/lib/builder_apm/controllers/instrumenter.rb: line_number = method_info.source_location.last 2023-12-18 /srv/gems/constrain-0.10.0/lib/constrain.rb: when Proc; "Proc@#{expr.source_location.first}:#{expr.source_location.last}" 2024-02-11 /srv/gems/prawn-manual_builder-0.4.0/lib/prawn/manual_builder/chapter.rb: block_source_line = example.source_location.last 2024-07-10 /srv/gems/curlybars-1.12.0/lib/curlybars/rendering_support.rb: line_number = source_location ? helper.source_location.last : "n/a" 2024-09-16 /srv/gems/minitest-distributed-0.2.11/lib/minitest/distributed/reporters/junitxml_reporter.rb: lineno = test.source_location.last 2025-01-07 /srv/gems/lazy_graph-0.2.0/lib/lazy_graph/node/derived_rules.rb: derived.source_location.last + offset 2025-01-07 /srv/gems/lazy_graph-0.2.0/lib/lazy_graph/node/derived_rules.rb: proc_line = source_location.last - 1 2025-08-08 /srv/gems/openstudio-common-measures-0.12.3/lib/measures/envelope_and_internal_load_breakdown/measure.rb: method_hash[section.to_s] = OsLib_ReportingHeatGainLoss.method(section).source_location.last 2025-08-08 /srv/gems/openstudio-common-measures-0.12.3/lib/measures/example_report/measure.rb: method_hash[section.to_s] = OsLib_Reporting_example.method(section).source_location.last ``` In any case it's a tiny fraction of e.g. the change in 3.4 for backtraces from `foo' to 'Module#foo'. In https://bugs.ruby-lang.org/issues/21777#note-7 you write: > Is this incompatibility really ok? I feel it is disproportionately incompatible for unclear use cases. Why don't you consider the gems that need this functionality `method_source` (700 million downloads) and `proc_to_ast` (71 million downloads) as valid use cases? Clearly people use them. Currently `method_source` which defines `Method#source` works around by parsing from the start line and adding an extra line one by one until valid: https://github.com/banister/method_source/blob/06f21c66380c64ff05c8031c0208… This is obviously hacky (but there was no better way before this), and wouldn't work with multiple `def` on the same line. `proc_to_ast` currently uses the `parser` gem to find the block at the given line but fails if there are multiple blocks at that line. This functionality will fix that: https://github.com/joker1007/proc_to_ast/issues/5 This is already plenty of use cases I think, but additionally we also discussed: * It would enabling fixing the issue with `power_assert` with 2 `assert` on the same line: https://bugs.ruby-lang.org/issues/21783#note-21. It might also help `power_assert` to support multi-line blocks, which is a pretty big limitation. * It enables to implement `Prism.node_for` (https://bugs.ruby-lang.org/issues/21005#note-5) and similar functionality in a portable-across-Ruby-implementations way, so it's both useful directly and indirectly. #21795 would also solve that, but not necessarily the other use cases above, which don't all need the AST (e.g. `Method#source`, which e.g. can be useful to just show the source of a method for documentation, debugging, etc). ---------------------------------------- Feature #6012: Proc#source_location also return the column https://bugs.ruby-lang.org/issues/6012#change-115975 * Author: rogerdpack (Roger Pack) * Status: Closed * Assignee: nobu (Nobuyoshi Nakada) ---------------------------------------- As originally suggested in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42418 Suggestion/feature request: have #source_location also return the beginning column where it was defined. ["test.rb", 8, 33] Thanks! -roger- -- https://bugs.ruby-lang.org/
1 0
0 0
[ruby-core:124357] [Ruby Bug#21803] `Addrinfo#connect_internal` should raise `IO::TimeoutError` on user-specified timeouts
by shioimm (Misaki Shioi) 07 Jan '26

07 Jan '26
Issue #21803 has been reported by shioimm (Misaki Shioi). ---------------------------------------- Bug #21803: `Addrinfo#connect_internal` should raise `IO::TimeoutError` on user-specified timeouts https://bugs.ruby-lang.org/issues/21803 * Author: shioimm (Misaki Shioi) * Status: Open * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- ## Background & Proposal `Addrinfo#connect_internal` is a core internal method that is called by both `Addrinfo#connect` and `Addrinfo#connect_from`. It receives a user-specified timeout value from these methods and currently raises `Errno::ETIMEDOUT` when that timeout expires. https://github.com/ruby/ruby/blame/1c07158203f00d020841f2400002f6e9b62d1318… ```ruby def connect_internal(local_addrinfo, timeout=nil) # :yields: socket sock = Socket.new(self.pfamily, self.socktype, self.protocol) begin sock.ipv6only! if self.ipv6? sock.bind local_addrinfo if local_addrinfo if timeout case sock.connect_nonblock(self, exception: false) when 0 # success or EISCONN, other errors raise break when :wait_writable sock.wait_writable(timeout) or raise Errno::ETIMEDOUT, "user specified timeout for #{self.ip_address}:#{self.ip_port}" end while true else sock.connect(self) end ``` However, this timeout is not caused by a system call returning `Errno::ETIMEDOUT`. It is a Ruby-level timeout triggered by explicitly waiting with a user-specified timeout value. This distinction was discussed in another issue: [Introduce general IO#timeout and IO#timeout= for blocking operations](https://bugs.ruby-lang.org/issues/18630)) After that discussion, [Support IO#timeout for rsock_connect](https://github.com/ruby/ruby/pull/11880) introduced a change so that `rsock_connect()` raises `IO::TimeoutError` when a user-specified timeout expires. In addition, `TCPSocket.new` and `Socket.tcp` were updated to align with this behavior, so that they raise `IO::TimeoutError` when a user-specified timeout occurs: [Socket.tcp and TCPSocket.new raise IO::TimeoutError with user specified timeout](https://github.com/ruby/ruby/pull/15602) However, the implementation of `Socket.tcp` still partially relies on `Addrinfo#connect_internal`, specifically in cases where a synchronous connection attempt is made to a single destination. As a result, depending on the execution path, a user-specified timeout may raise either `IO::TimeoutError` or `Errno::ETIMEDOUT`. This inconsistency is undesirable. Therefore, I propose that Addrinfo#connect_internal should raise `IO::TimeoutError` (instead of `Errno::ETIMEDOUT`) when a user-specified timeout expires, to make the behavior consistent across the socket APIs. -- https://bugs.ruby-lang.org/
1 1
0 0
[ruby-core:124422] [Ruby Feature#13683] Add strict Enumerable#single
by mame (Yusuke Endoh) 07 Jan '26

07 Jan '26
Issue #13683 has been updated by mame (Yusuke Endoh). I've only just learned that ActiveSupport introduced `Enumerable#sole` back in 2020. https://github.com/rails/rails/pull/40914 I wish this were available in the core too. ---------------------------------------- Feature #13683: Add strict Enumerable#single https://bugs.ruby-lang.org/issues/13683#change-115971 * Author: dnagir (Dmytrii Nagirniak) * Status: Feedback ---------------------------------------- ### Summary This is inspired by other languages and frameworks, such as LINQ's [Single](https://msdn.microsoft.com/en-us/library/bb155325%28v=vs.110%29.asp… (pardon MSDN reference), which has very big distinction between `first` and `single` element of a collection. - `first` normally returns the top element, and the developer assumes there could be many; - `single` returns one and only one element, and it is an error if there are none or more than one. We, in Ruby world, very often write `fetch_by('something').first` assuming there's only one element that can be returned there. But in majority of the cases, we really want a `single` element. The problems with using `first` in this case: - developer needs to explicitly double check the result isn't `nil` - in case of corrupted data (more than one item returned), it will never be noticed `Enumerable#single` addresses those problems in a very strong and specific way that may save the world by simply switching from `first` to `single`. ### Other information - we may come with a better internal implementation (than `self.map`) - better name could be used, maybe `only` is better, or a bang version? - re-consider the "block" implementation in favour of a separate method (`single!`, `single_or { 'default' }`) The original implementation is on the ActiveSupport https://github.com/rails/rails/pull/26206 But it was suggested to discuss the possibility of adding it to Ruby which would be amazing. -- https://bugs.ruby-lang.org/
1 0
0 0
[ruby-core:124421] [Ruby Feature#6012] Proc#source_location also return the column
by mame (Yusuke Endoh) 07 Jan '26

07 Jan '26
Issue #6012 has been updated by mame (Yusuke Endoh). Eregon (Benoit Daloze) wrote in #note-41: > @mame Matz explicitly approved it: https://github.com/ruby/ruby/pull/15580#issuecomment-3691058342 Ah, I missed that the PR had already been approved. Sorry about that. However, we should consider the fact that code like `source_location.last` actually exists in the wild, as RSpec fixed in advance. It seems this idiom is used in quite a few gems. ``` 2017-01-10 /srv/gems/abaci-0.3.0/vendor/bundle/gems/pry-0.10.4/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2017-01-10 /srv/gems/abaci-0.3.0/vendor/bundle/gems/pry-0.10.4/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2016-05-18 /srv/gems/able-neo4j-1.0.0/vendor/bundle/jruby/1.9/gems/pry-0.10.2-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2016-05-18 /srv/gems/able-neo4j-1.0.0/vendor/bundle/jruby/1.9/gems/pry-0.10.2-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2025-08-06 /srv/gems/affixapi-1.1.113/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-08-06 /srv/gems/affixapi-1.1.113/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-08-06 /srv/gems/affixapi-1.1.113/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-08-06 /srv/gems/affixapi-1.1.113/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-08-06 /srv/gems/affixapi-1.1.113/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/web-console-4.2.1/lib/web_console/source_location.rb: def lineno() @binding.source_location.last end 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/alchemy_i18n-5.0.1/vendor/bundle/ruby/4.0.0/gems/alchemy_cms-8.0.2/vendor/bundle/ruby/3.4.0/gems/web-console-4.2.1/lib/web_console/source_location.rb: def lineno() @binding.source_location.last end 2023-12-18 /srv/gems/ali-cli-0.0.2/lib/ali/template.rb: Rouge.highlight "\n#{"".ljust(indent, " ")}# #{task_path}:#{source_location.last}\n#{source}", lexer, formatter 2019-01-10 /srv/gems/alimentos-alu0100945645-1.0.0/vendor/bundle/ruby/2.3.0/gems/pry-0.12.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2019-01-10 /srv/gems/alimentos-alu0100945645-1.0.0/vendor/bundle/ruby/2.3.0/gems/pry-0.12.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2019-01-10 /srv/gems/alimentos-alu0100945645-1.0.0/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-06-14 /srv/gems/alloy_sdk-0.1.0/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-06-14 /srv/gems/alloy_sdk-0.1.0/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-03-18 /srv/gems/andyw8-seeing_is_believing-4.2.1/spec/event_stream_spec.rb: return raises_exception.source_location.last 2020-03-09 /srv/gems/argon-1.3.1/vendor/bundle/ruby/2.7.0/gems/pry-0.12.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2020-03-09 /srv/gems/argon-1.3.1/vendor/bundle/ruby/2.7.0/gems/pry-0.12.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2020-03-09 /srv/gems/argon-1.3.1/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-06-25 /srv/gems/asktive_record-0.1.7/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.4/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2018-05-07 /srv/gems/attestify-0.1.1/lib/attestify/test_list.rb: return result if source_location.last > line 2025-11-21 /srv/gems/avalara_sdk-25.11.2/vendor/bundle/ruby/3.3.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-11-21 /srv/gems/avalara_sdk-25.11.2/vendor/bundle/ruby/3.3.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-11-21 /srv/gems/avalara_sdk-25.11.2/vendor/bundle/ruby/3.3.0/gems/pry-0.13.1/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-11-21 /srv/gems/avalara_sdk-25.11.2/vendor/bundle/ruby/3.3.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-11-21 /srv/gems/avalara_sdk-25.11.2/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2015-02-02 /srv/gems/billygoat-0.0.7.2/lib/billygoat/documentation.rb: @line_number ||= self.method.source_location.last 2019-07-10 /srv/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2023-03-04 /srv/gems/blinka-reporter-0.8.0/lib/blinka_reporter/minitest_adapter.rb: @line ||= source_location.last 2022-05-02 /srv/gems/boothby-0.1.1/lib/boothby/seeds.rb: methods.sort_by { |method| seed_class.method(method).source_location.last } 2022-05-02 /srv/gems/boothby-0.1.1/lib/boothby/seeds.rb: methods.sort_by { |method| seed_class.method(method).source_location.last } 2018-09-11 /srv/gems/bsielski_control_flow-1.0.0/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-12-18 /srv/gems/builder_apm-0.5.14/lib/builder_apm/controllers/instrumenter.rb: line_number = method_info.source_location.last 2023-04-01 /srv/gems/call_your_name-0.1.0/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/pry-0.12.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/pry-0.12.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2019-10-31 /srv/gems/chatops-rpc-0.0.2/fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/web-console-4.0.1/lib/web_console/source_location.rb: def lineno() @binding.source_location.last end 1980-01-02 /srv/gems/ci-queue-0.81.0/lib/minitest/queue/junit_reporter.rb: lineno = tests.first.source_location.last 1980-01-02 /srv/gems/ci-queue-0.81.0/lib/minitest/queue/test_data.rb: @test.source_location.last 2025-09-03 /srv/gems/citypay_api_client-1.1.4/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-09-03 /srv/gems/citypay_api_client-1.1.4/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-09-03 /srv/gems/citypay_api_client-1.1.4/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-09-03 /srv/gems/citypay_api_client-1.1.4/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-09-03 /srv/gems/citypay_api_client-1.1.4/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-07-10 /srv/gems/cli-nasa-0.1.1/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-10-02 /srv/gems/cloudsmith-api-2.0.22/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2021-05-26 /srv/gems/coingecko_client-0.1.2/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/command_deck-0.3.3/TAGS: def lineno() @binding.source_location.last endlineno11,0 2023-12-18 /srv/gems/constrain-0.10.0/lib/constrain.rb: when Proc; "Proc@#{expr.source_location.first}:#{expr.source_location.last}" 2020-03-05 /srv/gems/coresv_db_backup-0.1.0/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/crx_packmgr_api_client_maintenance-1.3.2/vendor/ruby/3.4.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2024-07-10 /srv/gems/curlybars-1.12.0/lib/curlybars/rendering_support.rb: line_number = source_location ? helper.source_location.last : "n/a" 1980-01-02 /srv/gems/cybrid_api_bank_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/cybrid_api_bank_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/cybrid_api_bank_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/cybrid_api_bank_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/cybrid_api_bank_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/cybrid_api_id_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/cybrid_api_id_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/cybrid_api_id_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/cybrid_api_id_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/cybrid_api_id_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/cybrid_api_organization_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/cybrid_api_organization_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/cybrid_api_organization_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/cybrid_api_organization_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/cybrid_api_organization_ruby-0.126.13/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2024-07-11 /srv/gems/databox-2.1.1/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2024-07-11 /srv/gems/databox-2.1.1/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2024-07-11 /srv/gems/databox-2.1.1/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2024-07-11 /srv/gems/databox-2.1.1/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2024-07-11 /srv/gems/databox-2.1.1/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/devil_fruit-0.3.0/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2021-03-04 /srv/gems/dialekt-0.1.0/lib/dialekt/util/call_adapter.rb: "#{File.basename(@callable.source_location.first)}:#{@callable.source_location.last}" 2018-08-09 /srv/gems/dirwatch-0.0.9/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2018-08-09 /srv/gems/dirwatch-0.0.9/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/docspring-3.2.0/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/docspring-3.2.0/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/docspring-3.2.0/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/docspring-3.2.0/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/docspring-3.2.0/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2017-08-29 /srv/gems/echonet_lite-0.1.0/vendor/bundle/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/ed-precompiled_bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/ed-precompiled_bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/ed-precompiled_bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/ed-precompiled_bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 1980-01-02 /srv/gems/ed-precompiled_bindex-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2018-12-19 /srv/gems/embulk-input-druginfo_interview_form-0.1.0/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2018-12-19 /srv/gems/embulk-input-druginfo_interview_form-0.1.0/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-07-28 /srv/gems/encrypted_jsonb-0.1.2/vendor/cache/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-07-06 /srv/gems/fablicop-1.10.3/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2015-04-18 /srv/gems/fare-0.1.8/lib/fare/configuration_dsl.rb: raise "Stack without topics for stack on line #{(a)source_location.last} of #{(a)source_location.first}" 2015-04-18 /srv/gems/fare-0.1.8/lib/fare/configuration_dsl.rb: raise "No run list specified for stack on line #{(a)source_location.last} of #{(a)source_location.first}" 2019-11-11 /srv/gems/genkaio-0.0.2/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-11-11 /srv/gems/genkaio-0.0.2/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/gettext_i18n_rails_js-3.0.0/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/wrapped_module/candidate.rb: last_method_source_location.last 1980-01-02 /srv/gems/gettext_i18n_rails_js-3.0.0/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2015-11-12 /srv/gems/git_compound-0.2.2/lib/git_compound/logger/debug/task.rb: "in line `#{(a)block.source_location.last}`, " \ 2021-11-23 /srv/gems/glimmer-dsl-specification-0.0.5/lib/glimmer/specification/element/fact.rb: source_code = PutsDebuggerer::SourceFile.new(@block.source_location.first).source(1, @block.source_location.last) 2020-09-11 /srv/gems/grape-extra_validators-2.0.0/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-09-11 /srv/gems/grape-extra_validators-2.0.0/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/grape_rails_logger-1.2.0/lib/grape_rails_logger/subscriber.rb: line = endpoint.source.source_location.last 2024-04-15 /srv/gems/harbr-2.8.1/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-04-14 /srv/gems/hatena_bookmark_client_for_ruby-0.1.3/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/invoicetronic_sdk-1.0.1/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/invoicetronic_sdk-1.0.1/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/invoicetronic_sdk-1.0.1/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/invoicetronic_sdk-1.0.1/vendor/bundle/ruby/3.4.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/invoicetronic_sdk-1.0.1/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/itsi-0.2.20/gems/server/lib/itsi/server/typed_handlers/source_parser.rb: proc_line = source_location.last - 1 1980-01-02 /srv/gems/itsi-server-0.2.20/lib/itsi/server/typed_handlers/source_parser.rb: proc_line = source_location.last - 1 2016-12-31 /srv/gems/ivanvc-logstash-input-s3-3.1.1.4/vendor/local/gems/pry-0.10.4-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2016-12-31 /srv/gems/ivanvc-logstash-input-s3-3.1.1.4/vendor/local/gems/pry-0.10.4-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2025-01-07 /srv/gems/lazy_graph-0.2.0/lib/lazy_graph/node/derived_rules.rb: derived.source_location.last + offset 2025-01-07 /srv/gems/lazy_graph-0.2.0/lib/lazy_graph/node/derived_rules.rb: proc_line = source_location.last - 1 2017-05-26 /srv/gems/logstash-filter-htmlentities-0.1.0/vendor/bundle/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2017-05-26 /srv/gems/logstash-filter-htmlentities-0.1.0/vendor/bundle/jruby/1.9/gems/pry-0.10.4-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2017-05-26 /srv/gems/logstash-filter-htmlentities-0.1.0/vendor/bundle/jruby/1.9/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2017-03-08 /srv/gems/logstash-filter-zabbix-0.1.2/vendor/bundle/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2017-03-08 /srv/gems/logstash-filter-zabbix-0.1.2/vendor/bundle/jruby/1.9/gems/pry-0.10.4-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2020-10-04 /srv/gems/lotrd-0.1.9/vendor/cache/ruby/2.6.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2021-09-17 /srv/gems/loupe-0.1.5/lib/loupe/executor.rb: line_numbers.include?(klass.instance_method(method_name).source_location.last.to_s) 2015-10-16 /srv/gems/mastermind_adeybee-0.1.4/vendor/bundle/ruby/2.2.0/gems/pry-0.10.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2015-10-16 /srv/gems/mastermind_adeybee-0.1.4/vendor/bundle/ruby/2.2.0/gems/pry-0.10.2/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2016-05-06 /srv/gems/matest-1.7.4/lib/matest/example_block.rb: lineno = block.source_location.last 2020-03-07 /srv/gems/mdap-0.2.1/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2017-03-09 /srv/gems/mdg-1.0.1/vendor/bundle/ruby/2.3.0/gems/pry-0.10.4/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2017-03-09 /srv/gems/mdg-1.0.1/vendor/bundle/ruby/2.3.0/gems/pry-0.10.4/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2021-03-18 /srv/gems/mfk_openapi_ruby_client-1.0.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: target.source_location.last 2021-03-18 /srv/gems/mfk_openapi_ruby_client-1.0.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2021-03-18 /srv/gems/mfk_openapi_ruby_client-1.0.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2021-03-18 /srv/gems/mfk_openapi_ruby_client-1.0.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2021-03-18 /srv/gems/mfk_openapi_ruby_client-1.0.0/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2011-09-03 /srv/gems/minecraft-0.3.3/lib/minecraft/extensions.rb: src_b, src_e = get_comment_range(meth.source_location.last) 2015-12-08 /srv/gems/minirails-0.2.0/lib/minirails.rb: c.instance_method(m).source_location.last 2024-09-16 /srv/gems/minitest-distributed-0.2.11/lib/minitest/distributed/reporters/junitxml_reporter.rb: lineno = test.source_location.last 1980-01-01 /srv/gems/minitest-junit-2.1.0/lib/minitest/junit.rb: testcase['line'] = result.source_location.last 2018-05-21 /srv/gems/monero_wallet_gen-0.1.0/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2018-05-21 /srv/gems/monero_wallet_gen-0.1.0/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2018-05-21 /srv/gems/monero_wallet_gen-0.1.0/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-05-02 /srv/gems/moneykit-0.2.2/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-05-02 /srv/gems/moneykit-0.2.2/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-05-02 /srv/gems/moneykit-0.2.2/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-05-02 /srv/gems/moneykit-0.2.2/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-05-02 /srv/gems/moneykit-0.2.2/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.4/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2018-06-14 /srv/gems/mrcooper-logstash-output-azuresearch-0.2.2/vendor/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2018-06-14 /srv/gems/mrcooper-logstash-output-azuresearch-0.2.2/vendor/jruby/2.5.0/gems/pry-0.10.4-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2018-06-14 /srv/gems/mrcooper-logstash-output-azuresearch-0.2.2/vendor/jruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-04-15 /srv/gems/mumukit-content-type-1.12.1/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/mutant-0.14.1/lib/mutant/matcher/method.rb: source_location.last 2019-02-11 /srv/gems/mutest-0.0.10/lib/mutest/matcher/method.rb: source_location.last 1980-01-02 /srv/gems/mux_ruby-5.1.0/vendor/bundle/ruby/3.2.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/mux_ruby-5.1.0/vendor/bundle/ruby/3.2.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/mux_ruby-5.1.0/vendor/bundle/ruby/3.2.0/gems/pry-0.13.1/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/mux_ruby-5.1.0/vendor/bundle/ruby/3.2.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/mux_ruby-5.1.0/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-06-09 /srv/gems/nabea2-0.1.2/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.8.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-11-24 /srv/gems/opal-rspec-1.0.0/rspec-expectations/upstream/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/openhab-scripting-5.44.0/lib/openhab/dsl/rules/name_inference.rb: "#{file}:#{block.source_location.last}".tr(".", "_") 2025-08-08 /srv/gems/openstudio-common-measures-0.12.3/lib/measures/envelope_and_internal_load_breakdown/measure.rb: method_hash[section.to_s] = OsLib_ReportingHeatGainLoss.method(section).source_location.last 2025-08-08 /srv/gems/openstudio-common-measures-0.12.3/lib/measures/example_report/measure.rb: method_hash[section.to_s] = OsLib_Reporting_example.method(section).source_location.last 2025-12-10 /srv/gems/ory-client-1.22.16/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-12-10 /srv/gems/ory-client-1.22.16/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-12-10 /srv/gems/ory-client-1.22.16/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-12-10 /srv/gems/ory-client-1.22.16/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-12-10 /srv/gems/ory-client-1.22.16/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-11-07 /srv/gems/ory-hydra-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-11-07 /srv/gems/ory-hydra-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-11-07 /srv/gems/ory-hydra-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-11-07 /srv/gems/ory-hydra-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-11-07 /srv/gems/ory-hydra-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-11-09 /srv/gems/ory-keto-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-11-09 /srv/gems/ory-keto-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-11-09 /srv/gems/ory-keto-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-11-09 /srv/gems/ory-keto-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-11-09 /srv/gems/ory-keto-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-11-07 /srv/gems/ory-kratos-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-11-07 /srv/gems/ory-kratos-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-11-07 /srv/gems/ory-kratos-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-11-07 /srv/gems/ory-kratos-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-11-07 /srv/gems/ory-kratos-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-11-09 /srv/gems/ory-oathkeeper-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-11-09 /srv/gems/ory-oathkeeper-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-11-09 /srv/gems/ory-oathkeeper-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-11-09 /srv/gems/ory-oathkeeper-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-11-09 /srv/gems/ory-oathkeeper-client-25.4.0/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-10-17 /srv/gems/package-installer-cli-2.4.0/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-10-17 /srv/gems/package-installer-cli-2.4.0/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-10-17 /srv/gems/package-installer-cli-2.4.0/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-10-17 /srv/gems/package-installer-cli-2.4.0/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-10-17 /srv/gems/package-installer-cli-2.4.0/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-02-28 /srv/gems/pad_character-0.1.0/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2021-06-16 /srv/gems/passbase-1.3.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: target.source_location.last 2021-06-16 /srv/gems/passbase-1.3.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2021-06-16 /srv/gems/passbase-1.3.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2021-06-16 /srv/gems/passbase-1.3.0/vendor/bundle/ruby/2.7.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2021-06-16 /srv/gems/passbase-1.3.0/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-03-15 /srv/gems/pokedex-terminal-0.2.8/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-03-11 /srv/gems/pomodorokun-0.1.0/bundle/ruby/2.4.0/gems/rspec-expectations-3.8.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2022-12-28 /srv/gems/pork-2.1.0/lib/pork/extra/show_source.rb: lowers = test.source_location.last 2024-02-11 /srv/gems/prawn-manual_builder-0.4.0/lib/prawn/manual_builder/chapter.rb: block_source_line = example.source_location.last 1980-01-02 /srv/gems/pry-0.16.0/lib/pry/wrapped_module/candidate.rb: last_method_source_location.last 2020-01-03 /srv/gems/puppet-function-updater-0.0.5/lib/pfu/parser.rb: return [funcname, opts, block.source_location.last] 2025-04-11 /srv/gems/rails8_spree_admin-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_admin-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_admin-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_admin-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_admin-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-04-11 /srv/gems/rails8_spree_api-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_api-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_api-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_api-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_api-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-04-11 /srv/gems/rails8_spree_cli-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_cli-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_cli-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_cli-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_cli-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-04-11 /srv/gems/rails8_spree_core-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_core-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_core-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_core-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_core-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-04-11 /srv/gems/rails8_spree_emails-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_emails-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_emails-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_emails-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_emails-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-04-11 /srv/gems/rails8_spree_storefront-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-04-11 /srv/gems/rails8_spree_storefront-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-04-11 /srv/gems/rails8_spree_storefront-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-04-11 /srv/gems/rails8_spree_storefront-5.0.6/vendor/bundle/ruby/3.3.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-04-11 /srv/gems/rails8_spree_storefront-5.0.6/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2016-07-13 /srv/gems/rblineprof-0.3.7/test/test_lineprof.rb: line = profile[__FILE__][m.source_location.last] 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/method/source_location_spec.rb: line = @method.source_location.last 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/method/source_location_spec.rb: MethodSpecs::SourceLocation.method(:redefined).source_location.last.should == 13 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/method/source_location_spec.rb: MethodSpecs::SourceLocation.new.method(:aka).source_location.last.should == 17 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @proc.source_location.last 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @proc_new.source_location.last 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @lambda.source_location.last 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_proc.source_location.last.should == 16 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_proc_new.source_location.last.should == 30 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_lambda.source_location.last.should == 23 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_proc.source_location.last.should == 37 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_proc_new.source_location.last.should == 47 2024-02-15 /srv/gems/rhodes-7.6.0/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_lambda.source_location.last.should == 42 1980-01-02 /srv/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-02-21 /srv/gems/ruby-scheduler-0.1.3/vendor/ruby/2.6.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-02-21 /srv/gems/ruby-scheduler-0.1.3/vendor/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2012-10-25 /srv/gems/rubymirrors-0.0.3/lib/ruby/reflection/method_mirror.rb: source_location.last - 1 2023-08-21 /srv/gems/sampero-0.1.0/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2018-04-30 /srv/gems/sb_prime_table-0.1.1/vendor/bundle/ruby/2.4.0/gems/pry-0.11.3/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2018-04-30 /srv/gems/sb_prime_table-0.1.1/vendor/bundle/ruby/2.4.0/gems/pry-0.11.3/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2018-04-30 /srv/gems/sb_prime_table-0.1.1/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2015-10-13 /srv/gems/sc_core-0.0.7/test/dummy/vendor/bundle/ruby/2.2.0/gems/pry-0.10.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2015-10-13 /srv/gems/sc_core-0.0.7/test/dummy/vendor/bundle/ruby/2.2.0/gems/pry-0.10.2/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/scnr-introspector-0.3.2/lib/scnr/introspector/data_flow/sink.rb: lineno = @method_source_location.last 2025-10-19 /srv/gems/scrapbook-0.4.0/vendor/ruby/2.7.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2021-01-13 /srv/gems/seeing_is_believing-4.0.1/spec/event_stream_spec.rb: return raises_exception.source_location.last 2025-12-17 /srv/gems/shopsavvy-sdk-1.0.2/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 1980-01-02 /srv/gems/siteimprove_api_client-1.0.3/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 1980-01-02 /srv/gems/siteimprove_api_client-1.0.3/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 1980-01-02 /srv/gems/siteimprove_api_client-1.0.3/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 1980-01-02 /srv/gems/siteimprove_api_client-1.0.3/vendor/bundle/ruby/3.2.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 1980-01-02 /srv/gems/siteimprove_api_client-1.0.3/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2019-07-10 /srv/gems/skiptrace-0.8.1/test/skiptrace/exception_test.rb: assert_equal 4, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/skiptrace-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/skiptrace-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/skiptrace-0.8.1/test/skiptrace/exception_test.rb: assert_equal 14, exc.bindings.first.source_location.last 2019-07-10 /srv/gems/skiptrace-0.8.1/test/skiptrace/exception_test.rb: assert_equal 6, exc.bindings.first.source_location.last 2019-11-14 /srv/gems/spec_fill-0.1.2/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-11-28 /srv/gems/spud-0.2.10/lib/spud/block_param_info.rb: line = File.read((a)filename).split("\n")[(a)block.source_location.last - 1] 2013-06-11 /srv/gems/sshp-0.0.2/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2013-06-11 /srv/gems/sshp-0.0.2/vendor/ruby/1.9.1/gems/pry-0.9.12.2/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2020-03-09 /srv/gems/symbolic_enum-1.1.5/vendor/bundle/ruby/2.7.0/gems/pry-0.12.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2020-03-09 /srv/gems/symbolic_enum-1.1.5/vendor/bundle/ruby/2.7.0/gems/pry-0.12.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2020-03-09 /srv/gems/symbolic_enum-1.1.5/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-08-22 /srv/gems/synctera_ruby_sdk-1.1.3/vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2023-08-22 /srv/gems/synctera_ruby_sdk-1.1.3/vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2023-08-22 /srv/gems/synctera_ruby_sdk-1.1.3/vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2023-08-22 /srv/gems/synctera_ruby_sdk-1.1.3/vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2023-08-22 /srv/gems/synctera_ruby_sdk-1.1.3/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2017-08-03 /srv/gems/ta910_helloworld-0.1.1/vendor/bundle/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-01-06 /srv/gems/takuya-lvm-snapshot-0.1.0/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/method/source_location_spec.rb: line = @method.source_location.last 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/method/source_location_spec.rb: MethodSpecs::SourceLocation.method(:redefined).source_location.last.should == 13 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/method/source_location_spec.rb: MethodSpecs::SourceLocation.new.method(:aka).source_location.last.should == 17 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @proc.source_location.last 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @proc_new.source_location.last 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: line = @lambda.source_location.last 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_proc.source_location.last.should == 16 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_proc_new.source_location.last.should == 30 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_multiline_lambda.source_location.last.should == 23 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_proc.source_location.last.should == 37 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_proc_new.source_location.last.should == 47 2016-05-23 /srv/gems/tauplatform-1.0.3/spec/framework_spec/app/spec/core/proc/source_location_spec.rb: ProcSpecs::SourceLocation.my_detached_lambda.source_location.last.should == 42 2017-09-21 /srv/gems/test_gem2_dh-0.1.0/vendor/bundle/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2013-07-30 /srv/gems/torquebox-console-0.3.0/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2013-07-30 /srv/gems/torquebox-console-0.3.0/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/module_candidate.rb: end_method_line = last_method_source_location.last 2016-05-22 /srv/gems/transform_tree-0.3.1/lib/transform_tree/node.rb: "#{File.basename closure.source_location.first}:#{closure.source_location.last}" 2015-04-01 /srv/gems/turnip-dry_run-0.1.0/lib/turnip/dry_run.rb: step_method.source_location.last 2023-08-19 /srv/gems/tursodb-0.1.0/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2023-09-05 /srv/gems/web-console-4.2.1/lib/web_console/source_location.rb: def lineno() @binding.source_location.last end 2025-07-18 /srv/gems/whatpulse-sdk-1.0.1/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: target.source_location.last 2025-07-18 /srv/gems/whatpulse-sdk-1.0.1/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method/weird_method_locator.rb: [File.expand_path(source_location.first), source_location.last] 2025-07-18 /srv/gems/whatpulse-sdk-1.0.1/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/method.rb: source_location.nil? ? nil : source_location.last 2025-07-18 /srv/gems/whatpulse-sdk-1.0.1/vendor/bundle/ruby/3.1.0/gems/pry-0.15.2/lib/pry/wrapped_module/candidate.rb: end_method_line = last_method_source_location.last 2025-07-18 /srv/gems/whatpulse-sdk-1.0.1/vendor/bundle/ruby/3.1.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2020-07-07 /srv/gems/yoshioka_gem-0.1.0/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2025-09-23 /srv/gems/zayef-0.2.0.1/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb: source_location.last 2024-09-11 /srv/gems/zeus-0.17.0/lib/zeus/m/test_method.rb: start_line = method.source_location.last 2012-11-15 /srv/gems/zeus-edge-0.12.1/lib/zeus/m/test_method.rb: start_line = method.source_location.last 2014-04-06 /srv/gems/zeus-justinf-0.13.5/lib/zeus/m/test_method.rb: start_line = method.source_location.last ``` @matz, are you sure this is okay? ---------------------------------------- Feature #6012: Proc#source_location also return the column https://bugs.ruby-lang.org/issues/6012#change-115970 * Author: rogerdpack (Roger Pack) * Status: Closed * Assignee: nobu (Nobuyoshi Nakada) ---------------------------------------- As originally suggested in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42418 Suggestion/feature request: have #source_location also return the beginning column where it was defined. ["test.rb", 8, 33] Thanks! -roger- -- https://bugs.ruby-lang.org/
1 0
0 0
[ruby-core:124412] [Ruby Bug#21817] Ruby::Box crashes with refinement + bind_call + Symbol#to_proc combination
by ahogappa (sho hirano) 02 Jan '26

02 Jan '26
Issue #21817 has been reported by ahogappa (sho hirano). ---------------------------------------- Bug #21817: Ruby::Box crashes with refinement + bind_call + Symbol#to_proc combination https://bugs.ruby-lang.org/issues/21817 * Author: ahogappa (sho hirano) * Status: Open * ruby -v: ruby 4.0.0 (2025-12-25 revision 553f1675f3) +PRISM [arm64-darwin25] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- ## Description When running with `RUBY_BOX=1`, a combination of refinement on Binding class, `bind_call`, and `Symbol#to_proc` causes a crash with the error: `[BUG] BUG: Local ep without cme/box, flags: 66660087` ## Reproduction Script ```ruby # Run with: RUBY_BOX=1 ruby repro.rb using Module.new { refine ::Binding do def eval_methods ::Kernel.instance_method(:methods).bind_call(receiver) end end } p binding.eval_methods.map(&:to_s) ``` ## Expected Behavior The script should return an array of method names as strings. ## Actual Behavior Ruby crashes with `[BUG] BUG: Local ep without cme/box, flags: 66660087` ## Workaround Using block form instead of Symbol#to_proc does not crash: ```ruby binding.eval_methods.map { it.to_s } # This works ``` -- https://bugs.ruby-lang.org/
2 1
0 0
  • ← Newer
  • 1
  • ...
  • 11
  • 12
  • 13
  • 14
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.