Sha256: ad0eb76848cf0780a9989e580f955694e37e21eaebd9f707f99ab28c8e3532d7
Contents?: true
Size: 429 Bytes
Versions: 11
Compression:
Stored size: 429 Bytes
Contents
module Veewee module Command module Helpers # Initializes the environment by pulling the environment out of # the configuration hash and sets up the UI if necessary. def initialize_environment(args, options, config) raise Errors::CLIMissingEnvironment if !config[:env] @env = config[:env] @env.cwd = File.expand_path(@options[:cwd]) if @options[:cwd] end end end end
Version data entries
11 entries across 11 versions & 1 rubygems