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.5.4 test/ox/hasprops.rb
ox-1.5.3 test/ox/hasprops.rb
ox-1.5.2 test/ox/hasprops.rb
ox-1.5.1 test/ox/hasprops.rb
ox-1.5.0 test/ox/hasprops.rb
ox-1.4.6 test/ox/hasprops.rb
ox-1.4.5 test/ox/hasprops.rb
ox-1.4.4 test/ox/hasprops.rb
ox-1.4.3 test/ox/hasprops.rb
ox-1.4.2 test/ox/hasprops.rb
ox-1.4.1 test/ox/hasprops.rb
ox-1.4.0 test/ox/hasprops.rb
ox-1.3.5 test/ox/hasprops.rb
ox-1.3.4 test/ox/hasprops.rb
ox-1.3.3 test/ox/hasprops.rb
ox-1.3.2 test/ox/hasprops.rb
ox-1.3.1 test/ox/hasprops.rb
ox-1.3.0 test/ox/hasprops.rb
ox-1.2.15 test/ox/hasprops.rb
ox-1.2.14 test/ox/hasprops.rb