lib/knj/datarow_custom.rb in knjrbfw-0.0.64 vs lib/knj/datarow_custom.rb in knjrbfw-0.0.65
- old
+ new
@@ -70,9 +70,14 @@
def self.table
return self.name.split("::").last
end
+ def deleted?
+ return true if @data
+ return false
+ end
+
def table
return self.class.table
end
def initialize(data, args)
\ No newline at end of file