Module: Cem
- Defined in:
- lib/cem/cruzzles.rb,
lib/cem/version.rb
Overview
cruzzles Christopher’s Ruby Puzzle Utilities
Includes:
-
Point2D, Grid, Dirs(ections)2D
-
Some Numeric hackery
Constant Summary collapse
- VERSION =
"0.1.7"
Class Method Summary collapse
Class Method Details
.max(a, b) ⇒ Object
15 16 17 |
# File 'lib/cem/cruzzles.rb', line 15 def self.max(a, b) return a >= b ? a : b end |
.min(a, b) ⇒ Object
11 12 13 |
# File 'lib/cem/cruzzles.rb', line 11 def self.min(a, b) return a <= b ? a : b end |