Sha256: e1e4adbda244c8f1c5ff325b70de963ebb39239d74a43fd83f011c5ebe91b354

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

require 'rails/generators'

class Natural::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def copy_application_policy
    template 'application_policy.rb', 'app/policies/application_policy.rb'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
natural_resource-0.1.4 lib/generators/natural/install/install_generator.rb
natural_resource-0.1.2 lib/generators/natural/install/install_generator.rb
natural_resource-0.1.2.pre.3 lib/generators/natural/install/install_generator.rb
natural_resource-0.1.2.pre.2 lib/generators/natural/install/install_generator.rb
natural_resource-0.1.2.pre lib/generators/natural/install/install_generator.rb