Sha256: 343b7e8fdab86bfc02f3fb153216a752b5a437e76d69a072e5726254a1e4d543

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

module Imagine
  module BasicListView

    class << self
      attr_accessor :root
      def root
        @root ||= Pathname.new(File.expand_path('../../', __FILE__))
      end
    end

    class Engine < ::Rails::Engine
      isolate_namespace ::Imagine

      config.after_initialize do |app|
        ::Imagine::Plugin.register do |plugin|
          plugin.pathname = root
          plugin.name = 'imagine_basic_list_view'
          plugin.directory = 'basic_list_view'
          plugin.version = %q{0.0.1}
        end
      end

    end
  end
end

::Imagine.engines << 'basic_list_view'

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
imagine-0.1.1 basic_list_view/lib/imagine-basic_list_view.rb
imagine-basic_list_view-0.1.1 lib/imagine-basic_list_view.rb