Sha256: 60c77eeb1f026f9f1112dc3d748959809763b11c79f7fd0efb5ca58e46605105

Contents?: true

Size: 173 Bytes

Versions: 6

Compression:

Stored size: 173 Bytes

Contents

module Gametel
  module Navigation
    def on(cls, &block)
      @current_screen = cls.new
      block.call @current_screen if block
      @current_screen
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gametel-0.5.1 lib/gametel/navigation.rb
gametel-0.5 lib/gametel/navigation.rb
gametel-0.4 lib/gametel/navigation.rb
gametel-0.3 lib/gametel/navigation.rb
gametel-0.2 lib/gametel/navigation.rb
gametel-0.1 lib/gametel/navigation.rb