lib/reviewer/command/string/env.rb in reviewer-0.1.4 vs lib/reviewer/command/string/env.rb in reviewer-0.1.5
- old
+ new
@@ -5,9 +5,13 @@
class String
# Assembles tool environment variables into a single string or array
class Env
attr_reader :env_pairs
+ # Creates an instance of env variables for a tool to help generate the command string
+ # @param env_pairs [Hash] [description]
+ #
+ # @return [self]
def initialize(env_pairs)
@env_pairs = env_pairs
end
def to_s