Class: Ruvi::Highlighter

Inherits:
Object
  • Object
show all
Defined in:
lib/highlighters.rb

Class Method Summary collapse

Class Method Details

.has_structure?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/highlighters.rb', line 17

def self.has_structure?
    false
end

.inherited(sub) ⇒ Object



20
21
22
# File 'lib/highlighters.rb', line 20

def Highlighter.inherited sub
    Highlighters::instance.register_highlighter sub
end