Sha256: 1f72b488bd1006213a6fe4beb51af777e13204e6f470be11fd0047dba96c9aec

Contents?: true

Size: 157 Bytes

Versions: 45

Compression:

Stored size: 157 Bytes

Contents

class HomeController < ApplicationController
  Array(1..10).each do |x|
    define_method "test#{x}" do
      @test = x
      render :test
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
chaltron-2.0.3 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-2.0.2 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-2.0.1 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-2.0.0 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.7 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.6 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-0.3.2 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.5 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.4 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-0.3.1 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.3 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.2 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.1 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-0.3.0 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.1.0 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-0.2.11 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.0.10 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-0.2.10 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.0.9 lib/generators/chaltron/templates/app/controllers/home_controller.rb
chaltron-1.0.8 lib/generators/chaltron/templates/app/controllers/home_controller.rb