Sha256: 8bae2243623e44b685a29b96ba619afabdb122f7edba7e7ea4208f11d1ae3605

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

require 'rails/generators'

module Generators
  class MockModule < Rails::Generators::Base
    source_root(File.expand_path('../generators/templates', __dir__))
  
    def copy_module_file
      copy_file("mockable.rb", "app/controllers/concerns/mockable.rb")    
    end  
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mock_graphql_ai-1.0.4 lib/generators/mock_module.rb
mock_graphql_ai-1.0.3 lib/generators/mock_module.rb
mock_graphql_ai-1.0.2 lib/generators/mock_module.rb