Sha256: c2398313277c5e1c36f68588345cb4f66dfe9f69ffd9ff6288a1c60829a0487c

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 Bytes

Contents

=begin
  * Name: ChangeEvent
  * Description: Event used to notify interested parties that state of component has changed
  * Author: rkumar (arunachalesha)

  --------
  * Date: 2010-02-26 11:32
  * License:
    Same as Ruby's License (http://www.ruby-lang.org/LICENSE.txt)

=end

# Event created when state changed (as in ViewPort)
module Rbhex
  class ChangeEvent
    attr_accessor :source
    def initialize source
      @source = source
    end
    def to_s
      inspect
    end
    def inspect
      "ChangeEvent #{@source}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbhex-core-1.1.0.alpha6 lib/rbhex/core/include/rchangeevent.rb
rbhex-core-1.1.0.alpha5 lib/rbhex/core/include/rchangeevent.rb
rbhex-core-1.1.0.alpha4 lib/rbhex/core/include/rchangeevent.rb