Sha256: a26ef9358886881c0de35d1305734b2cfe3854cef34bc40dbf2c2847e90742f9

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

#require "ostruct"

module VagrantPlugins
  module CommandServe
    class Type
      class Options < Type
        def initialize(value:)
          if !value.is_a?(Hash)
            raise TypeError,
              "Expected type `Hash' but received `#{value.class}'"
          end
          super(value: value)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/commands/serve/type/options.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/commands/serve/type/options.rb
vagrant-unbundled-2.3.3.0 plugins/commands/serve/type/options.rb
vagrant-unbundled-2.3.2.0 plugins/commands/serve/type/options.rb