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.9.3 lib/roku_builder/plugin.rb
roku_builder-4.9.2 lib/roku_builder/plugin.rb
roku_builder-4.9.1 lib/roku_builder/plugin.rb
roku_builder-4.9.0 lib/roku_builder/plugin.rb
roku_builder-4.8.2 lib/roku_builder/plugin.rb
roku_builder-4.8.1 lib/roku_builder/plugin.rb
roku_builder-4.8.0 lib/roku_builder/plugin.rb
roku_builder-4.7.2 lib/roku_builder/plugin.rb
roku_builder-4.7.1 lib/roku_builder/plugin.rb
roku_builder-4.7.0 lib/roku_builder/plugin.rb
roku_builder-4.6.2 lib/roku_builder/plugin.rb
roku_builder-4.6.1 lib/roku_builder/plugin.rb
roku_builder-4.6.0 lib/roku_builder/plugin.rb
roku_builder-4.5.3 lib/roku_builder/plugin.rb
roku_builder-4.5.2 lib/roku_builder/plugin.rb
roku_builder-4.5.1 lib/roku_builder/plugin.rb
roku_builder-4.5.0 lib/roku_builder/plugin.rb
roku_builder-4.3.1 lib/roku_builder/plugin.rb
roku_builder-4.3.0 lib/roku_builder/plugin.rb
roku_builder-4.2.3 lib/roku_builder/plugin.rb