class Reflekt::ObjectMeta
Public Class Methods
new()
click to toggle source
# File lib/meta/object_meta.rb, line 15 def initialize() @type = :object @class_type = nil end
Public Instance Methods
load(value)
click to toggle source
@param value [Dynamic] Any custom class.
# File lib/meta/object_meta.rb, line 23 def load(value) @class_type = value.class end
serialize()
click to toggle source
# File lib/meta/object_meta.rb, line 27 def serialize() { :type => @type, :class_type => @class_type } end