Sha256: 11a3ebc5600fc99bb2238b705999c48b207ccef6e4bcd350a890c19bad404a85
Contents?: true
Size: 397 Bytes
Versions: 7
Compression:
Stored size: 397 Bytes
Contents
module Slayer module Generators class CommandGenerator < NamedBase desc "This generator creates new Slayer::Commands" source_root File.expand_path("../templates", __FILE__) check_class_collision suffix: "Command" def create_command_files template "command.rb", File.join("app", "commands", class_path, "#{file_name}_command.rb") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems