Sha256: 748152c6c229ab6ff38ce25c347adea634dcfab07bc5149f41d9ceede2b3f049

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 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

2 entries across 2 versions & 1 rubygems

Version Path
MonkeyEngine-2.0.2 lib/MonkeyAction/monkey_action.rb
MonkeyEngine-2.0.1 lib/MonkeyAction/monkey_action.rb