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