Class: AdminEditorPage

Inherits:
Page
  • Object
show all
Defined in:
lib/models/admin_editor_page.rb

Defined Under Namespace

Classes: Editor

Constant Summary collapse

EDITORS =
[Editor.new('TextMate', 'mate')]

Class Method Summary collapse

Class Method Details

.available_editorsObject



16
17
18
# File 'lib/models/admin_editor_page.rb', line 16

def self.available_editors
  @available_editors ||= EDITORS.select(&:exists?)
end