that more... and I want the class to add two numbers because I wanted
to practice using rspec and figured a simple program would be good to
start out with.
- Calvin
On Sep 21, 7:47 pm, Stephen Eley wrote:
> On Mon, Sep 21, 2009 at 5:48 PM, Calvin wrote:
>
> > I am pretty new to RSpe
Hi,
I am pretty new to RSpec and I wonder if some code I have written is
leading me in the right direction. Any advice is greatly appreciated!
here is the code from calculator.rb
class Calculator
def equation(val1, val2)
result = val1 + val2
return result
end
end
and here is the co