Skip to content

Commit

Permalink
bob: Opens up conversation about implementation choice (#491)
Browse files Browse the repository at this point in the history
Opens up conversation about implementation choice
  • Loading branch information
kotp authored and Insti committed Nov 25, 2016
1 parent 32469e4 commit ed4180f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/bob/bob_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class BobTest < Minitest::Test
def bob
::Bob.new
Bob
end

def feedback(text)
Expand Down
4 changes: 3 additions & 1 deletion exercises/bob/example.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Bob
module Bob
def hey(drivel)
answer Phrase.new(drivel)
end
Expand Down Expand Up @@ -35,3 +35,5 @@ def silent?
source.empty?
end
end

Bob.extend Bob

0 comments on commit ed4180f

Please sign in to comment.