Sha256: 999347cb1eeba52e8c8fed79ce09127999907ab4031eda07ff2a19dd7a94e0c2

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

class Hadouken::Plan
  attr_accessor :name
  attr_accessor :root
  attr_accessor :user

  attr_accessor :environment
  attr_accessor :dry_run
  attr_accessor :interactive

  attr_accessor :history_path
  attr_accessor :planfile
  attr_accessor :artifact

  attr_reader   :timestamp
  
  def initialize
    @tasks     = Hadouken::Tasks.new(self)
    @groups    = Hadouken::Groups.new
    @timestamp = Time.now.utc.strftime("%Y%m%d%H%M%S")
  end

  def groups
    @groups
  end

  def tasks
    @tasks
  end

  def dry_run?
    !!@dry_run
  end

  def interactive?
    !!@interactive
  end

  def env
    environment
  end


  def logger
    Hadouken.logger
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hadouken-0.1.5.pre lib/hadouken/plan.rb