Sha256: 892a43eefc2b40cf5618d6bf46de88992f5ab9b871c357d050915166819ca7bf

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

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


require 'xot/hookable'
require 'xot/setter'
require 'xot/blockutil'
require 'reflex/ext'
require 'reflex/helpers'


module Reflex


  class View

    include Xot::Hookable
    include Xot::Setter
    include HasBounds

    alias add    add_child
    alias remove remove_child
    alias find   find_child

    def initialize (opts = {}, &block)
      super()
      set opts
      Xot::BlockUtil.instance_eval_or_block_call self, &block if block
    end

  end# View


end# Reflex

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reflexion-0.1.4 lib/reflex/view.rb