Sha256: 2df0eaa38993541ea452b74bccb74ebd23ad36e3d8c2cb4754eda47eda69494a

Contents?: true

Size: 306 Bytes

Versions: 7

Compression:

Stored size: 306 Bytes

Contents

require "rails/generators"

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

      def copy_views
        directory "app/views/simple_calendar", "app/views/simple_calendar"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_calendar-3.0.4 lib/generators/simple_calendar/views_generator.rb
simple_calendar-3.0.3 lib/generators/simple_calendar/views_generator.rb
simple_calendar-3.0.2 lib/generators/simple_calendar/views_generator.rb
simple_calendar-3.0.1 lib/generators/simple_calendar/views_generator.rb
simple_calendar-3.0.0 lib/generators/simple_calendar/views_generator.rb
simple_calendar-2.4.3 lib/generators/simple_calendar/views_generator.rb
simple_calendar-2.4.2 lib/generators/simple_calendar/views_generator.rb