Module: RailsIdle::Collector

Defined in:
lib/rails-idle/collector.rb,
lib/rails-idle/collector/base.rb,
lib/rails-idle/collector/views.rb

Defined Under Namespace

Classes: Base, Views

Class Method Summary collapse

Class Method Details

.instance(key) ⇒ Object



14
15
16
17
# File 'lib/rails-idle/collector.rb', line 14

def instance(key)
  return RailsIdle::Collector::Views.instance if key == :views
#        return RailsIdle::Collector::Stylesheets.instance if key == :stylesheets
end

.listObject



10
11
12
# File 'lib/rails-idle/collector.rb', line 10

def list
  [:views]
end