Class: BlockEditor::BlockList

Inherits:
ApplicationRecord show all
Defined in:
app/models/block_editor/block_list.rb

Overview

Represents a block list

Instance Method Summary collapse

Instance Method Details

#reusable?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'app/models/block_editor/block_list.rb', line 23

def reusable?
  listable_type.nil? && listable_id.nil?
end