Sha256: de656b039f20de653466429a59a714e4b976481deb23bd17900b510b72ab2914
Contents?: true
Size: 433 Bytes
Versions: 1
Compression:
Stored size: 433 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
currency_cloud-0.8.0 | lib/currency_cloud/errors/error_utils.rb |