Sha256: 94eef3c9621be562e2af715d20fee4af6379065287e467589c2e01070bcd1163

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

module Redcar
  class Application
    class GlobalState
      def app
        Redcar.app
      end
      
      def win
        app and app.focussed_window
      end
      
      def project
        win and Project.in_window(win)
      end

      def tab
        win and win.focussed_notebook_tab
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
redcar-0.13 plugins/application/lib/application/global_state.rb
redcar-dev-0.13.5dev plugins/application/lib/application/global_state.rb
redcar-dev-0.13.4dev plugins/application/lib/application/global_state.rb
redcar-dev-0.13.3dev plugins/application/lib/application/global_state.rb
redcar-dev-0.13.2dev plugins/application/lib/application/global_state.rb
redcar-dev-0.13.1dev plugins/application/lib/application/global_state.rb
redcar-dev-0.13.0dev plugins/application/lib/application/global_state.rb