Sha256: 11d24cabc4acf1d52c4cce11505acb544dc39b72876e02715f2ba70ac787594c

Contents?: true

Size: 302 Bytes

Versions: 273

Compression:

Stored size: 302 Bytes

Contents

module Sample
  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 # HasProps
end # Sample

Version data entries

273 entries across 273 versions & 4 rubygems

Version Path
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/test/sample/hasprops.rb
oj-3.14.2 test/sample/hasprops.rb
oj-3.14.1 test/sample/hasprops.rb
oj-3.14.0 test/sample/hasprops.rb
oj-3.13.23 test/sample/hasprops.rb
oj-3.13.22 test/sample/hasprops.rb
oj-3.13.21 test/sample/hasprops.rb
oj-3.13.20 test/sample/hasprops.rb
oj-3.13.19 test/sample/hasprops.rb
oj-3.13.18 test/sample/hasprops.rb
oj-3.13.17 test/sample/hasprops.rb
oj-3.13.16 test/sample/hasprops.rb
oj-3.13.15 test/sample/hasprops.rb
oj-3.13.14 test/sample/hasprops.rb
oj-3.13.13 test/sample/hasprops.rb
oj-3.13.12 test/sample/hasprops.rb
oj-3.13.11 test/sample/hasprops.rb
oj-3.13.10 test/sample/hasprops.rb
oj-3.13.9 test/sample/hasprops.rb
oj-3.13.8 test/sample/hasprops.rb