Class: Bora::Tasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/bora/tasks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack_name) {|_self| ... } ⇒ Tasks

Returns a new instance of Tasks.

Yields:

  • (_self)

Yield Parameters:

  • _self (Bora::Tasks)

    the object that the method was called on



6
7
8
9
10
11
12
# File 'lib/bora/tasks.rb', line 6

def initialize(stack_name)
  @stack_name = stack_name
  @stack = Stack.new(stack_name)
  @colorize = true
  yield self if block_given?
  define_tasks
end

Instance Attribute Details

#colorizeObject

Returns the value of attribute colorize.



14
15
16
# File 'lib/bora/tasks.rb', line 14

def colorize
  @colorize
end

#stack_optionsObject

Returns the value of attribute stack_options.



14
15
16
# File 'lib/bora/tasks.rb', line 14

def stack_options
  @stack_options
end