Sha256: e4e88c378feeca45080ed793861b61ae35518c2eef7a8e2214d5a07b44568dc9

Contents?: true

Size: 344 Bytes

Versions: 40

Compression:

Stored size: 344 Bytes

Contents

module Test
  module Ox
    module HasProps

      def add_prop(key, value)
        @props = { } unless self.instance_variable_defined?(:@props)
        @props[key] = value
      end

      def props
        @props = { } unless self.instance_variable_defined?(:@props)
        @props
      end
      
    end # HashProps
  end # Ox
end # Test

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ox-1.2.13 test/ox/hasprops.rb
ox-1.2.12 test/ox/hasprops.rb
ox-1.2.11 test/ox/hasprops.rb
ox-1.2.10 test/ox/hasprops.rb
ox-1.2.9 test/ox/hasprops.rb
ox-1.2.8 test/ox/hasprops.rb
ox-1.2.7 test/ox/hasprops.rb
ox-1.2.6 test/ox/hasprops.rb
ox-1.2.5 test/ox/hasprops.rb
ox-1.2.4 test/ox/hasprops.rb
ox-1.2.3 test/ox/hasprops.rb
ox-1.2.2 test/ox/hasprops.rb
ox-1.2.1 test/ox/hasprops.rb
ox-1.2.0 test/ox/hasprops.rb
ox-1.1.1 test/ox/hasprops.rb
ox-1.1.0 test/ox/hasprops.rb
ox-1.0.3 test/ox/hasprops.rb
ox-1.0.2 test/ox/hasprops.rb
ox-1.0.1 test/ox/hasprops.rb
ox-1.0.0 test/ox/hasprops.rb