lib/tdp/keywords.rb
# Method to handle the "task" keyword:
# Gets instance, merges instance variables and 
# evaluates the defined action in the instances scope
Method to handle the "task" keyword:
Gets instance, merges instance variables and
evaluates the defined action in the instances scope
Method to handle the " task " keyword : Gets instance merges instance variables and evaluates the defined action in the instances scope
def _task_( library, name, &params )
      item = library.get(name)
      item.parent = self
      item.merge_instance_variables(self)
      item.instance_eval(&params) if block_given?
      item.generate
    end
def _task_ ( library , name , & params ) item = library . get ( name ) item . parent = self item . merge_instance_variables ( self ) item . instance_eval ( & params ) if block_given? item . generate end
Method to handle the "task" keyword:
Gets instance, merges instance variables and
evaluates the defined action in the instances scope
Method to handle the " task " keyword : Gets instance merges instance variables and evaluates the defined action in the instances scope
library
<not_specific>
name
<not_specific>
params
<not_specific>