Sha256: 247cfc07fa5fbef7d1169663741d0a328dddf6fb6bdabfd283e969c8e413904d

Contents?: true

Size: 687 Bytes

Versions: 46

Compression:

Stored size: 687 Bytes

Contents

# ********** Copyright Viacom, Inc. Apache 2.0 **********

module RokuBuilder

  # Super class for modules
  # This class defines a common initializer and allows subclasses
  # to define their own secondary initializer
  module Plugin

    def commands
      raise ImplementationError, "commands method not implemented in #{self}"
      #[
      #  {
      #   name: :command_name,
      #   device: true || false,
      #   source: true || false,
      #   exclude: true || false
      #  }
      #]
    end

    def parse_options(option_parser:, options:)
      raise ImplementationError, "parse_options method not implemented"
    end

    def dependencies
      []
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
roku_builder-4.15.2 lib/roku_builder/plugin.rb
roku_builder-4.15.1 lib/roku_builder/plugin.rb
roku_builder-4.15.0 lib/roku_builder/plugin.rb
roku_builder-4.14.1 lib/roku_builder/plugin.rb
roku_builder-4.14.0 lib/roku_builder/plugin.rb
roku_builder-4.12.3 lib/roku_builder/plugin.rb
roku_builder-4.13.0 lib/roku_builder/plugin.rb
roku_builder-4.12.2 lib/roku_builder/plugin.rb
roku_builder-4.12.1 lib/roku_builder/plugin.rb
roku_builder-4.12.0 lib/roku_builder/plugin.rb
roku_builder-4.11.5 lib/roku_builder/plugin.rb
roku_builder-4.11.4 lib/roku_builder/plugin.rb
roku_builder-4.11.3 lib/roku_builder/plugin.rb
roku_builder-4.11.2 lib/roku_builder/plugin.rb
roku_builder-4.11.1 lib/roku_builder/plugin.rb
roku_builder-4.11.0 lib/roku_builder/plugin.rb
roku_builder-4.10.1 lib/roku_builder/plugin.rb
roku_builder-4.10.0 lib/roku_builder/plugin.rb
roku_builder-4.9.5 lib/roku_builder/plugin.rb
roku_builder-4.9.4 lib/roku_builder/plugin.rb