Skip to content

Instantly share code, notes, and snippets.

link to gist

Project can be used to create a database and uses Activerecord validation to filter data passed in as new objects before saving them to the database.

@chrisscherer
chrisscherer / 0.2.1-boggle_class_from_methods.rb
Last active December 29, 2015 19:19 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
attr_reader :dice_grid
def initialize(dice_grid)
@dice_grid = dice_grid
end
def get_row(row)
print dice_grid[row]
puts ""