Sha256: 605290cb732ee035b9dcfdc54a9c27672193f1a37f8e22ee28ed8640f22f5a25

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

module RailsIdle
  module Collector
    autoload :Base,         'rails-idle/collector/base'
    #autoload :Actions,     'rails-idle/collector/actions'
    autoload :Views,        'rails-idle/collector/views'
#    autoload :Stylesheets,  'rails-idle/collector/stylesheets'
    
    class << self
    
      def list
        [:views]
      end
    
      def instance(key)
        return RailsIdle::Collector::Views.instance if key == :views
#        return RailsIdle::Collector::Stylesheets.instance if key == :stylesheets
      end
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-idle-0.0.10 lib/rails-idle/collector.rb
rails-idle-0.0.9 lib/rails-idle/collector.rb