Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irb(main):001:0> CorruptionClash.new(Player.first, Player.last).pounce
- NoMethodError: undefined method `attack' for nil:NilClass
- from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/whiny_nil.rb:48:in `method_missing'
- from /Users/mlabanov/Work/Corruption/lib/corruption_clash.rb:137:in `attack_sum_for_player'
- from /Users/mlabanov/Work/Corruption/lib/corruption_clash.rb:48:in `start_fight'
- from /Users/mlabanov/Work/Corruption/lib/corruption_clash.rb:30:in `pounce'
- from (irb):1
- irb(main):002:0>
Add Comment
Please, Sign In to add comment