Sha256: 6161d4eee6ffbbc7a154d91dad3ee1f4975791ed93bc28d3c68a4d3ce6f74a15

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

module Transactionable
  class ViewsGenerator < Rails::Generators::Base
    source_root File.expand_path('../../../../app/views/transactionable/', __FILE__)
    desc "Copies shared transactionable views to your application."

    def copy_shared_partials
      directory "shared/", "app/views/transactionable/shared/"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
transactionable-0.3.1 lib/generators/transactionable/views_generator.rb
transactionable-0.3.0 lib/generators/transactionable/views_generator.rb
transactionable-0.2.0 lib/generators/transactionable/views_generator.rb