Sha256: d7a50210a32b8ce004addc435ca9d557262c1b77fb8c57c843c697087cccb17a

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

module Gosu
  module Keyboard
    class DSL
      
      module Helpers
        
        def shift
          left_shift || right_shift
        end
        
        def alt
          left_alt || right_alt
        end
        
        def control
          left_control || right_control
        end
        
      end
      
      include Helpers
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gosu-keyboard-0.1.8 lib/gosu/keyboard/dsl/helpers.rb
gosu-keyboard-0.1.7 lib/gosu/keyboard/dsl/helpers.rb