Sha256: 5922aff5e580b1e97cbb0393a088bdf3222ac0659abd3dd316636d396064a6e0

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

require 'Action/action'

# MonkeyAction.
class MonkeyAction < Action
  attr_reader :monkey

  def initialize(monkey, value, weight)
    super(value, weight)

    @monkey = monkey
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
MonkeyEngine-2.0.7 lib/MonkeyAction/monkey_action.rb
MonkeyEngine-2.0.6 lib/MonkeyAction/monkey_action.rb
MonkeyEngine-2.0.5 lib/MonkeyAction/monkey_action.rb
MonkeyEngine-2.0.4 lib/MonkeyAction/monkey_action.rb
MonkeyEngine-2.0.3 lib/MonkeyAction/monkey_action.rb