Method: Power#initialize
- Defined in:
- lib/symcalc.rb
#initialize(base, power) ⇒ Power
Returns a new instance of Power.
647 648 649 650 |
# File 'lib/symcalc.rb', line 647 def initialize base, power @base = base @power = power end |
Returns a new instance of Power.
647 648 649 650 |
# File 'lib/symcalc.rb', line 647 def initialize base, power @base = base @power = power end |