Sha256: 742a4c0457936290b5c4b350eb3002a60076e30e1e7e94b3694e55eb9ba644e7

Contents?: true

Size: 398 Bytes

Versions: 7

Compression:

Stored size: 398 Bytes

Contents

# -*- coding: utf-8 -*-


require 'reflex/ext'
require 'reflex/window'


module Reflex


  extend module ClassMethods

    def start (*args, &block)
      Application.new(*args, &block).start
    end

    def quit ()
      Application.instance.quit
    end

    def window (*args, &block)
      w = Window.new *args, &block
      w.show
      w
    end

    self

  end# ClassMethods


end# Reflex

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
reflexion-0.1.12 lib/reflex/reflex.rb
reflexion-0.1.11 lib/reflex/reflex.rb
reflexion-0.1.10 lib/reflex/reflex.rb
reflexion-0.1.9.1 lib/reflex/reflex.rb
reflexion-0.1.9 lib/reflex/reflex.rb
reflexion-0.1.8 lib/reflex/reflex.rb
reflexion-0.1.7 lib/reflex/reflex.rb