module DslOrganizer::Container

It defines methods to operate with executors.

Public Instance Methods

[](command = nil) click to toggle source
# File lib/dsl_organizer/container.rb, line 8
def [](command = nil)
  real_container[command]
end
[]=(command, executor) click to toggle source
# File lib/dsl_organizer/container.rb, line 4
def []=(command, executor)
  real_container[command] = executor
end
real_container() click to toggle source
# File lib/dsl_organizer/container.rb, line 12
def real_container
  @real_container ||= {}
end
reset() click to toggle source
# File lib/dsl_organizer/container.rb, line 16
def reset
  @real_container = {}
end