Class: Hash

Inherits:
Object show all
Defined in:
lib/streams/activitystreams.rb

Instance Method Summary collapse

Instance Method Details

#__object_typeObject



39
40
41
# File 'lib/streams/activitystreams.rb', line 39

def __object_type
  @object_type
end

#__object_type=(ot) ⇒ Object

allows a Hash to be used in place of an ASObj … we don’t necessarily want a mixin on this, so just set a property



35
36
37
# File 'lib/streams/activitystreams.rb', line 35

def __object_type= ot
  @object_type = ot
end