Module: RokuBuilder::Plugin
- Included in:
- Analyzer, Core, Inspector, Linker, Loader, Monitor, Navigator, Packager, Profiler, RokuAPI, Scripter, Tester
- Defined in:
- lib/roku_builder/plugin.rb
Overview
Super class for modules This class defines a common initializer and allows subclasses to define their own secondary initializer
Instance Method Summary collapse
- #commands ⇒ Object
- #dependencies ⇒ Object
- #parse_options(option_parser:, options:) ⇒ Object
- #validate ⇒ Object
Instance Method Details
#commands ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/roku_builder/plugin.rb', line 10 def commands raise ImplementationError, "commands method not implemented in #{self}" #[ # { # name: :command_name, # device: true || false, # source: true || false, # exclude: true || false # } #] end |
#dependencies ⇒ Object
26 27 28 |
# File 'lib/roku_builder/plugin.rb', line 26 def dependencies [] end |
#parse_options(option_parser:, options:) ⇒ Object
22 23 24 |
# File 'lib/roku_builder/plugin.rb', line 22 def (option_parser:, options:) raise ImplementationError, "parse_options method not implemented" end |
#validate ⇒ Object
30 31 32 |
# File 'lib/roku_builder/plugin.rb', line 30 def validate # No default validations end |