Sha256: 54675cc724bf21baafb22a430a80cbcd12f0fde4cdcf92383db6f030b6a30745

Contents?: true

Size: 352 Bytes

Versions: 10

Compression:

Stored size: 352 Bytes

Contents

module RailsWorkflow
  class ProcessTemplateDecorator < Decorator
    delegate_all

    def form
      'form'
    end

    def default_class
      RailsWorkflow.config.process_class
    end

    def default_manager
      RailsWorkflow.config.manager_class
    end

    def default_type
      RailsWorkflow.config.process_template_type
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_workflow-0.3.7 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.6 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.5 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.4 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.3 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.2 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.1 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.3.0 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.2.2 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.2.1 app/decorators/rails_workflow/process_template_decorator.rb