Sha256: cd28f5c1bd207acdda6a45cda74a1367043b892eb806efaab325653f665f94b8
Contents?: true
Size: 381 Bytes
Versions: 9
Compression:
Stored size: 381 Bytes
Contents
class OscMacheteRails::JobModelGenerator < Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def initialize(args, *options) args |= %w(status:string) args |= %w(job_cache:text) super end argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]" hook_for :orm, required: true end
Version data entries
9 entries across 9 versions & 1 rubygems