Class: Clef::Plugins::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/clef/plugins/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.plugin_nameString

Returns:

  • (String)


8
9
10
# File 'lib/clef/plugins/base.rb', line 8

def plugin_name
  name.split("::").last.downcase
end

Instance Method Details

#on_after_layout(_layout_result) ⇒ Object

Parameters:

  • _layout_result (Hash)


18
19
# File 'lib/clef/plugins/base.rb', line 18

def on_after_layout(_layout_result)
end

#on_after_parse(_score) ⇒ Object

Parameters:



34
35
# File 'lib/clef/plugins/base.rb', line 34

def on_after_parse(_score)
end

#on_after_render(_path) ⇒ Object

Parameters:

  • _path (String, #write)


30
31
# File 'lib/clef/plugins/base.rb', line 30

def on_after_render(_path)
end

#on_before_layout(_score) ⇒ Object

Parameters:



14
15
# File 'lib/clef/plugins/base.rb', line 14

def on_before_layout(_score)
end

#on_before_midi(_exporter) ⇒ Object

Parameters:



38
39
# File 'lib/clef/plugins/base.rb', line 38

def on_before_midi(_exporter)
end

#on_before_render(_renderer) ⇒ Object

Parameters:

  • _renderer (Object)


26
27
# File 'lib/clef/plugins/base.rb', line 26

def on_before_render(_renderer)
end

#on_layout_items(_items) ⇒ Object

Parameters:



22
23
# File 'lib/clef/plugins/base.rb', line 22

def on_layout_items(_items)
end

#register_glyphs(_glyph_table) ⇒ Object

Parameters:



42
43
# File 'lib/clef/plugins/base.rb', line 42

def register_glyphs(_glyph_table)
end