Skip to content

Commit

Permalink
Print current platform to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrasimplicity committed May 14, 2018
1 parent dff558d commit 5755165
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/aruba/api/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ def expand_path(file_name, dir_string = nil)
def with_environment(env = {}, &block)
old_aruba_env = aruba.environment.to_h

$stdout.puts "Current Platform: #{Aruba.platform.class.to_s}"

# make sure the old environment is really restored in "ENV"
Aruba.platform.with_environment aruba.environment.update(env).to_h, &block
ensure
Expand Down

0 comments on commit 5755165

Please sign in to comment.