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