lib/boxcars/boxcar.rb in boxcars-0.1.8 vs lib/boxcars/boxcar.rb in boxcars-0.2.0
- old
+ new
@@ -109,9 +109,14 @@
end
inputs = { input_keys.first => inputs }
end
validate_inputs(inputs: inputs)
end
+
+ # the default answer is the text passed in
+ def get_answer(text)
+ text
+ end
end
end
require "boxcars/boxcar/engine_boxcar"
require "boxcars/boxcar/calculator"