Class: Prosody::PublishedValue
- Inherits:
-
Object
- Object
- Prosody::PublishedValue
- Defined in:
- lib/prosody/state.rb,
sig/state.rbs
Instance Method Summary collapse
- #get(key) ⇒ T?
-
#initialize(native) ⇒ PublishedValue
constructor
A new instance of PublishedValue.
Constructor Details
#initialize(native) ⇒ PublishedValue
Returns a new instance of PublishedValue.
239 |
# File 'lib/prosody/state.rb', line 239 def initialize(native) = @native = native |
Instance Method Details
#get(key) ⇒ T?
240 |
# File 'lib/prosody/state.rb', line 240 def get(key) = @native.get(key.to_s) |