summaryrefslogtreecommitdiffstats
path: root/CLI/ruby/lib
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/ruby/lib')
-rw-r--r--CLI/ruby/lib/game_of_life/universe.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/CLI/ruby/lib/game_of_life/universe.rb b/CLI/ruby/lib/game_of_life/universe.rb
index a8c9050..b92386c 100644
--- a/CLI/ruby/lib/game_of_life/universe.rb
+++ b/CLI/ruby/lib/game_of_life/universe.rb
@@ -5,9 +5,9 @@ require "forwardable"
module GameOfLife
class Universe
extend Forwardable
+ delegate :[] => :@universe
attr_accessor :universe
- def_delegators :@universe, :[]
# Initialize the empty initial universe 2D array
# @param width [Integer] the width of the universe array