Sha256: fa4dfdd33d041b12e32c35c16f14bfe918145f16061e4f403dc0fcd8757690b3
Contents?: true
Size: 333 Bytes
Versions: 13
Compression:
Stored size: 333 Bytes
Contents
class JoyRouteMenuGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) argument :menu_name, type: :string def generate_menu create_menu end private def create_menu template 'joy_route_menu_template.template', "app/services/ussd/menus/#{menu_name.underscore}_menu.rb" end end
Version data entries
13 entries across 13 versions & 1 rubygems