Class: Net::NTLM::Field

### Home Classes Methods

### In Files

- lib/net/ntlm.rb
- lib/net/ntlm_http.rb

### Parent

Object

### Methods

- ::new
- #size

### Files

- README

### Class/Module Index

Quicksearch

- Net
- Net::HTTP
- Net::HTTPHeader
- Net::HTTPRequest
- Net::NTLM
- Net::NTLM::Field
- Net::NTLM::FieldSet
- Net::NTLM::Int16LE
- Net::NTLM::Int32LE
- Net::NTLM::Int64LE
- Net::NTLM::Message
- Net::NTLM::Message::Type1
- Net::NTLM::Message::Type2
- Net::NTLM::Message::Type3
- Net::NTLM::SecurityBuffer
- Net::NTLM::String

No matching classes.

# Net::NTLM::Field

base classes for primitives

base classes for primitives

### Attributes

active[RW]
value[RW]

### Public Class Methods

new(opts) click to toggle source

    # File lib/net/ntlm.rb, line 258
    def initialize(opts)
      @value  = opts[:value]
      @active = opts[:active].nil? ? true : opts[:active]
    end

### Public Instance Methods

size() click to toggle source

    # File lib/net/ntlm.rb, line 263
    def size
      @active ? @size : 0
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.