Module: Diffend::LocalContext::Platform
- Defined in:
- lib/diffend/local_context/platform.rb
Overview
Module responsible for building platform information from local context
Class Method Summary collapse
-
.call ⇒ Hash
Build platform information.
Class Method Details
.call ⇒ Hash
Build platform information
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/diffend/local_context/platform.rb', line 12 def call { 'bundler' => { 'version' => ::Bundler::VERSION }, 'environment' => environment, 'ruby' => ruby_information, 'rubygems' => { 'specification_version' => Gem::Specification::CURRENT_SPECIFICATION_VERSION, 'version' => Gem::VERSION } }.freeze end |