Sha256: ed13b354db55bb586f33132fa40d7ed942d6f46bcc64ecd91aa52b5ea5569813

Contents?: true

Size: 327 Bytes

Versions: 11

Compression:

Stored size: 327 Bytes

Contents

module Mokio
  module Copy #:nodoc:all
    class ViewsGenerator < Rails::Generators::Base #:nodoc:
      source_root File.expand_path('../../../../../app/views/', __FILE__)

      desc "Copy a Mokio views into your application."

      def generate_views
        directory "mokio", "app/views/mokio"
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mokio-2.0.8 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.15 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.14 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.13 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.12 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.11 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.10 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.9 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.8 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.6 lib/generators/mokio/copy/views_generator.rb
mokio-0.0.5 lib/generators/mokio/copy/views_generator.rb