Sha256: fbb145fdbc6b5d97df2c9fac7e83b5d2d5df802024b87e7bed32800ed6153ddd
Contents?: true
Size: 341 Bytes
Versions: 7
Compression:
Stored size: 341 Bytes
Contents
module Mokio class PositionsGenerator < Rails::Generators::Base #:nodoc: argument :names, :type => :array desc "Creates module positions" def create_positions names.each do |name| Mokio::ModulePosition.create(:name => name) puts "Successfully created #{name.green} position." end end end end
Version data entries
7 entries across 7 versions & 1 rubygems