lib/scrivito/basic_widget.rb in scrivito_sdk-0.17.0 vs lib/scrivito/basic_widget.rb in scrivito_sdk-0.18.0
- old
+ new
@@ -97,20 +97,9 @@
def persisted?
@attributes_to_be_saved.nil?
end
- def obj_class_name
- data_from_cms.value_of('_obj_class')
- end
-
- # Returns the {Scrivito::ObjClass} of this widget.
- # @return [Scrivito::ObjClass]
- # @api public
- def obj_class
- ObjClass.find(obj_class_name)
- end
-
def ==(other)
other.respond_to?(:obj) && obj == other.obj && other.respond_to?(:id) && id == other.id
end
def eql?(other)