Sha256: cb8c326d3bddaf132572ac2885143a9ec132a15a17e9afa712db2be9f42cec25

Contents?: true

Size: 373 Bytes

Versions: 16

Compression:

Stored size: 373 Bytes

Contents

module Mccloud
  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 ::Mccloud::Error,"CLI Missing Environment" if !config[:env]
        @env = config[:env]
      end

     end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mccloud-0.1.1 lib/mccloud/command/helpers.rb
mccloud-0.0.28 lib/mccloud/command/helpers.rb
mccloud-0.0.27 lib/mccloud/command/helpers.rb
mccloud-0.0.26 lib/mccloud/command/helpers.rb
mccloud-0.0.25 lib/mccloud/command/helpers.rb
mccloud-0.0.24 lib/mccloud/command/helpers.rb
mccloud-0.0.23 lib/mccloud/command/helpers.rb
mccloud-0.0.22 lib/mccloud/command/helpers.rb
mccloud-0.0.21 lib/mccloud/command/helpers.rb
mccloud-0.0.20 lib/mccloud/command/helpers.rb
mccloud-0.0.19 lib/mccloud/command/helpers.rb
mccloud-0.0.18 lib/mccloud/command/helpers.rb
mccloud-0.0.17 lib/mccloud/command/helpers.rb
mccloud-0.0.16 lib/mccloud/command/helpers.rb
mccloud-0.0.15 lib/mccloud/command/helpers.rb
mccloud-0.0.14 lib/mccloud/command/helpers.rb