lib/hazard.rb in hazard-1.0.0 vs lib/hazard.rb in hazard-1.0.1
- old
+ new
@@ -1,15 +1,5 @@
-class RolledDices
- attr_reader :result, :rolls
- def initialize( rolls )
- @rolls = rolls
- @result = rolls.reduce(:+)
- end
- #Â Required for tests
- def ==( rolled_dices )
- @rolls == rolled_dices.rolls && @result == rolled_dices.result
- end
-end
+require_relative 'rolled_dices'
class Hazard
def self.method_missing( method_name )
\ No newline at end of file