Module: Ramaze::Helper::Workflow

Defined in:
lib/cortex_reaver/helper/workflow.rb

Overview

Provides workflow links on a per-section basis

Instance Method Summary collapse

Instance Method Details

#workflow(name, href, *classes) ⇒ Object



9
10
11
12
# File 'lib/cortex_reaver/helper/workflow.rb', line 9

def workflow(name, href, *classes)
  @workflows ||= []
  @workflows << [name, href, classes]
end

#workflowsObject



5
6
7
# File 'lib/cortex_reaver/helper/workflow.rb', line 5

def workflows
  @workflows
end