Sha256: e880d30d9d3a68d4e75c11f39d39b3e4b0491a093648ff154a9299f948b77a75

Contents?: true

Size: 368 Bytes

Versions: 392

Compression:

Stored size: 368 Bytes

Contents

class Object
  # Makes backticks behave (somewhat more) similarly on all platforms.
  # On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the
  # spawned shell prints a message to stderr and sets $?.  We emulate
  # Unix on the former but not the latter.
  def `(command) #:nodoc:
    super
  rescue Errno::ENOENT => e
    STDERR.puts "#$0: #{e}"
  end
end

Version data entries

392 entries across 359 versions & 35 rubygems

Version Path
backlog-0.8.1 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
backlog-0.9.1 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
mack-active_record-0.8.2 lib/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/agnostics.rb
mack-facets-0.8.3.1 lib/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/agnostics.rb
mack-facets-0.8.3 lib/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/agnostics.rb
monetra-ruby-0.0.6 lib/monetra/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.1 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.0 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.2 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.3 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.5.1 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.4 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.5 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.7 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.6 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.9 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.6.8 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.7.0 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.7.1 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb
radiant-0.8.0 vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb