The Language
I/O
Enumerable
Methods
Rails
100
These are the only two values considered false in Ruby?
What is nil and false?
100
This global variable stores the last line read.
What is $_?
100
The only method you must implement for a class to support the Enumerable module.
What is #each?
100
Keyword used to access the current object.
What is self?
100
Probably the reason your Javascript event trigger isn't firing.
What is Turbolinks?
200
A variable that starts with a capital letter.
What is a constant?
200
This constant supports reading multiple files and standard-in as a single stream.
What is ARGF?
200
Two classes which mixin the Enumerable module.
What are Array and Set (or Hash, Range, IO)?
200
Used to call the same method as defined in the parent class.
What is super?
200
Your ApplicationController inherits from this class.
What is ActionController::Base?
300
Prefix used to declare global variables.
What is $?
300
This addition to Ruby 1.9 was a major change in how Strings are represented.
What is support for multibyte characters?
300
10 enumerable methods.
What are: inject, each, each_with_index, map, collect, zip, etc... (check via
http://ruby-doc.org/core-2.1.2/Enumerable.html
)
300
When writing idiomatic Ruby, a method whose return value is true or false.
What is a predicate method?
300
This task will undo then repeat the most recent migration?
What is db:migrate:redo?
400
This method returns true if a method was passed a block.
What is #block_given?
400
This method ensures subsequent reads will begin and the start of a file.
What is #rewind?
400
This enumerable method works similarly to #group_by, but instead returns an enumerator.
What is #chunk?
400
This can be used to call a private method from outside the receiver object.
What is #send?
400
This addition to Rails 3 is intended to protect against XSS attacks.
What is automatic escaping in templates? (disabled with #html_safe)
500
This module's methods can be called without a receiver.
What is Kernel?
500
This method returns the current position in a file.
What is #tell?
500
This enumerable method takes a pattern as an argument.
What is #grep or #sice_before?
500
This method argument must always be specified last.
What is a block?
500
The five groups used to manage gems via Bundler in a standard Rails application.
What are :default, :development, :production, :test and :assets?
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
Ruby Level 2
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs