• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Nu-hin / remote_ruby / 19836456948

01 Dec 2025 08:27PM UTC coverage: 95.157% (-0.08%) from 95.234%
19836456948

push

github

Nu-hin
Fix README.md parameters section

1120 of 1177 relevant lines covered (95.16%)

141.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.89
/lib/remote_ruby/extensions.rb
1
# frozen_string_literal: true
2

3
require 'remote_ruby/execution_context'
20✔
4

5
module RemoteRuby
20✔
6
  # Module to include in the global scope to provide the `remotely` method
7
  module Extensions
20✔
8
    def remotely(args = {}, &block)
20✔
9
      unless defined?(RSpec)
60✔
10
        warn '[DEPRECATION] `remotely` method is deprecated and will be ' \
×
11
             'removed in v2.0. Please use `RemoteRuby::ExecutionContext#execute` directly.'
12
      end
13
      locals = args.delete(:locals)
60✔
14
      execution_context = ::RemoteRuby::ExecutionContext.new(**args)
60✔
15
      execution_context.execute(locals, &block)
60✔
16
    end
17
  end
18
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc