Module: Exc1SumSquares

Defined in:
lib/exc1_sum_squares.rb,
lib/exc1_sum_squares/solver.rb,
lib/exc1_sum_squares/version.rb

Defined Under Namespace

Classes: Solver

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.helpObject



13
14
15
16
# File 'lib/exc1_sum_squares.rb', line 13

def self.help
  puts "This is a CLI app that solves something for you... use it like this..."
  puts "$  exc1_sum_squares '[[1, 2, 3, 4], [5, 6, 7, 8]]'"
end

.solve(input) ⇒ Object



7
8
9
10
11
# File 'lib/exc1_sum_squares.rb', line 7

def self.solve(input)
  s = Exc1SumSquares::Solver.new input
  
  return s
end