Sha256: 886c868b197cb5713a2cf150bf0cb13c4b996c7dc3aa27941a2cab1997b6658f
Contents?: true
Size: 397 Bytes
Versions: 7
Compression:
Stored size: 397 Bytes
Contents
module Slayer module Generators class ServiceGenerator < NamedBase desc "This generator creates new Slayer::Services" source_root File.expand_path("../templates", __FILE__) check_class_collision suffix: "Service" def create_service_files template "service.rb", File.join("app", "services", class_path, "#{file_name}_service.rb") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems