FreeTyping

Ruby Code Typing Practice

60
seconds
0
WPM
100%
accuracy
def method_name def initialize(args) %w[word array] if condition self.method hash = { key: value } @instance_variable yield @@class_variable array.each do |item| require 'library' module MyModule array.select { |x| x > 0 } extend Module class MyClass proc { block } initialize end -> { lambda } hash[:key] require_relative 'file' unless condition array.map { |x| x * 2 } %i[symbol array] while condition include Module array.reduce(0) { |sum, x| } &:method_name attr_reader :value when pattern until condition elsif other block_given? else case value attr_writer :data 'single quotes' "interpolation #{var}" attr_accessor :name hash.fetch(:key, default) def method_name def initialize(args) %w[word array] if condition self.method hash = { key: value } @instance_variable yield @@class_variable array.each do |item| require 'library' module MyModule array.select { |x| x > 0 } extend Module class MyClass proc { block } initialize end -> { lambda } hash[:key]
Click the text area and start typing to begin

Practice typing Ruby code and Rails patterns

Related Practice