This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
503 git clone https://github.com/dbc-challenges/CLI-Obstacle-Course.git | |
504 ls | |
505 cd CLI* | |
506 ls | |
507 man ls | |
508 ls -al | |
509 mv images app/assets | |
510 ls | |
511 ls -al | |
512 cd app/views/static_files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BoggleBoard | |
def initialize(board) | |
@board = board | |
end | |
def create_word(*coords) | |
coords.map {|coord| @board[coord.first][coord.last]}.join("") | |
end |
NewerOlder