Sha256: b788c4ec22f29ed79aa2f89d96951aa1d957ef91b748af30e70f455b9747283f

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

module Cadet
  class PropertyContainer #subclasses must implement set_property, get_property

    def []= (property, value)
      set_property property, value
    end

    def [] (property)
      get_property property
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cadet-0.0.6-java lib/cadet/property_container.rb
cadet-0.0.5-java lib/cadet/property_container.rb
cadet-0.0.4-java lib/cadet/property_container.rb
cadet-0.0.3-java lib/cadet/property_container.rb
cadet-0.0.2-java lib/cadet/property_container.rb