Sha256: fbbe4ca76fde6ec004e4a4abc4b6e9d20f1b823d057960a57ad99cd0c0ac921d

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

require 'nugrant'

module Nugrant
  module Vagrant
    module V1
      module Config
        class User < ::Vagrant::Config::Base
          attr_reader :parameters

          def initialize()
            @parameters = Nugrant::Parameters.new()
          end

          def [](param_name)
            return @parameters[param_name]
          end

          def method_missing(method, *args, &block)
            return @parameters.method_missing(method, *args, &block)
          end

          def defaults(parameters)
            @parameters.defaults(parameters)
          end

          def defaults=(parameters)
            @parameters.defaults=(parameters)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nugrant-1.0.1 lib/nugrant/vagrant/v1/config/user.rb
nugrant-1.0.0 lib/nugrant/vagrant/v1/config/user.rb
nugrant-1.0.0.pre1 lib/nugrant/vagrant/v1/config/user.rb