Sha256: ccae64a89f6a662c0b5daa91fb321582c47b1491c0fb48387cf88201fa855f98
Contents?: true
Size: 313 Bytes
Versions: 13
Compression:
Stored size: 313 Bytes
Contents
class WelcomeController < ApplicationController def index @components = @@component_list end # Build components list from basepack_test_app/app/components @@component_list ||= Dir.glob(File.expand_path('../../components/*.rb', __FILE__)).map{ |name| File.basename(name, ".rb") }.map(&:camelize) end
Version data entries
13 entries across 13 versions & 2 rubygems