Sha256: f77aaa48daeabe759f62d952aaff0783ab1ae7d8b6e411354bfabb9f6eb443a1

Contents?: true

Size: 223 Bytes

Versions: 8

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

# Represents keyboard input.
class KeyboardInput
  attr_accessor :is_word, :input

  def initialize
    @is_word = false
    @input = []
  end

  def input_to_s
    @input.join.to_s
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
MonkeyEngine-2.0.7 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.6 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.5 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.4 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.3 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.2 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.1 lib/MonkeyKeyboard/keyboard_input.rb
MonkeyEngine-2.0.0 lib/MonkeyKeyboard/keyboard_input.rb