module Strategy

Public Class Methods

plan(desc) click to toggle source

Convenience function to get a new Plan quickly

Parameters:

desc

The description of the new plan

Returns:

A Strategy::Plan with the specified description

# File lib/strategy.rb, line 27
def self.plan desc
  Strategy::Plan.new desc
end
step(desc) click to toggle source

Convenience function to get a new Step quickly

Parameters:

desc

The description of the new step

Returns:

A Strategy::Step with the specified description

# File lib/strategy.rb, line 14
def self.step desc
  Strategy::Step.new desc
end