Sha256: f3d4e3be88da27bec4d99e1b2bda13f8ebe1d0e0acee14843ae9a9959f24853e

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

require "rails/generators"

module Bsvc
  module Generators
    class ComponentsGenerator < Rails::Generators::Base
      source_root(File.expand_path("../../../../", __FILE__))

      def copy_components
        directory('app/components', 'app/components')
        directory('app/helpers', 'app/helpers')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bsvc-0.1.2 lib/generators/bsvc/components_generator.rb
bsvc-0.1.1 lib/generators/bsvc/components_generator.rb
bsvc-0.1.0 lib/generators/bsvc/components_generator.rb