Skip to content

Test to see if hound and travis work #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions lib/questions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# keep only the elements that start with an a
# keep only the elements that start with an 'a'
def select_elements_starting_with_a(array)
end

Expand All @@ -22,11 +22,11 @@ def reverse_every_element_in_array(array)
# given an array of student names, like ['Bob', 'Dave', 'Clive']
# give every possible pairing - in this case:
# [['Bob', 'Clive'], ['Bob', 'Dave'], ['Clive', 'Dave']]
# make sure you don't have the same pairing twice,
# make sure you don't have the same pairing twice,
def every_possible_pairing_of_students(array)
end

# discard the first 3 elements of an array,
# discard the first 3 elements of an array,
# e.g. [1, 2, 3, 4, 5, 6] becomes [4, 5, 6]
def all_elements_except_first_3(array)
end
Expand All @@ -51,7 +51,7 @@ def get_first_half_of_string(string)
def make_numbers_negative(number)
end

# turn an array of numbers into two arrays of numbers, one an array of
# turn an array of numbers into two arrays of numbers, one an array of
# even numbers, the other an array of odd numbers
# even numbers come first
# so [1, 2, 3, 4, 5, 6] becomes [[2, 4, 6], [1, 3, 5]]
Expand Down Expand Up @@ -149,7 +149,7 @@ def format_date_nicely(date)
def get_domain_name_from_email_address(email)
end

# capitalize the first letter in each word of a string,
# capitalize the first letter in each word of a string,
# except 'a', 'and' and 'the'
# *unless* they come at the start of the start of the string, e.g.
# 'the lion the witch and the wardrobe' becomes
Expand All @@ -168,7 +168,7 @@ def check_a_string_for_special_characters(string)
def get_upper_limit_of(range)
end

# should return true for a 3 dot range like 1...20, false for a
# should return true for a 3 dot range like 1...20, false for a
# normal 2 dot range
def is_a_3_dot_range?(range)
end
Expand Down Expand Up @@ -218,7 +218,7 @@ def fizzbuzz_without_modulo

# print the lyrics of the song 99 bottles of beer on the wall
# http://www.99-bottles-of-beer.net/lyrics.html
# make sure you use the singular when you have one bottle of
# make sure you use the singular when you have one bottle of
# beer on the wall, and print 'no more bottles of beer on the wall'
# at the end.
# (there's no RSpec test for this one)
Expand Down