Class: Stupidedi::Editor::AbstractEd
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Inspect
#inspect
Class Method Details
.edit(*args) ⇒ Object
28
29
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 28
def edit(*args)
end
|
.rewrite(*args) ⇒ Object
31
32
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 31
def rewrite(*args)
end
|
Instance Method Details
8
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 8
abstract :config
|
11
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 11
abstract :critique
|
13
14
15
16
17
18
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 13
def edit(id)
if config.editor.enabled?(id)
yield
end
end
|
#rewrite(id) ⇒ Object
20
21
22
23
24
|
# File 'lib/stupidedi/editor/abstract_ed.rb', line 20
def rewrite(id)
if config.editor.enabled?(id)
yield
end
end
|