Sha256: 1d6994ef35e823424a5e16be6244f9c70185cbd1c68b1e9f9edf26fffce0a40f
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
module CurrencyCloud module ErrorUtils def platform base = "ruby-#{RUBY_VERSION}" implementation = case RUBY_ENGINE when 'ruby' then '' when 'jruby' then ' (jruby-#{JRUBY_VERSION})"' when 'rbx' then ' (rbx-#{Rubinius::VERSION})' else ' (other)' end "#{base}#{implementation}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
currency_cloud-0.7.2 | lib/currency_cloud/errors/error_utils.rb |
currency_cloud-0.7.1 | lib/currency_cloud/errors/error_utils.rb |
currency_cloud-0.7 | lib/currency_cloud/errors/error_utils.rb |