Sha256: c9036b2f551205d4b7a27fe3af602bdb3f6b4b1fa99db01331410f1af2cfd677
Contents?: true
Size: 672 Bytes
Versions: 19
Compression:
Stored size: 672 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rails/generators' require 'mdwa/dsl' module Mdwa module Generators class ProcessGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) argument :description, :type => :string, :banner => 'Process description' class_option :no_comments, :type => :boolean, :default => false, :desc => 'Generates process without comments.' def code_generation @process = MDWA::DSL::Process.new(description) template 'requirement.rb', "#{MDWA::DSL::WORKFLOW_PATH}#{@process.alias}.rb" end end # entity end # generators end # mdwa
Version data entries
19 entries across 19 versions & 1 rubygems