mirror of
https://github.com/onyx-and-iris/aoc2025.git
synced 2026-09-18 01:32:27 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45c6ec52b0 | ||
|
|
0180ee243c |
@@ -1,11 +1,7 @@
|
|||||||
require "forwardable"
|
|
||||||
|
|
||||||
require_relative "cell"
|
require_relative "cell"
|
||||||
|
|
||||||
class Grid
|
class Grid
|
||||||
attr_reader :rows, :columns
|
attr_reader :rows, :columns
|
||||||
extend Forwardable
|
|
||||||
def_delegators :@rows, :[]
|
|
||||||
|
|
||||||
def initialize(input)
|
def initialize(input)
|
||||||
@rows = []
|
@rows = []
|
||||||
|
|||||||
Reference in New Issue
Block a user