Parent

Files

Moqueue::MockHeaders

Attributes

size[RW]
weight[RW]

Public Class Methods

new(properties={}) click to toggle source
   # File lib/moqueue/mock_headers.rb, line 6
6:     def initialize(properties={})
7:       @properties = properties
8:     end

Public Instance Methods

ack() click to toggle source
    # File lib/moqueue/mock_headers.rb, line 10
10:     def ack
11:       @received_ack = true
12:     end
method_missing(method, *args, &blk) click to toggle source
    # File lib/moqueue/mock_headers.rb, line 26
26:     def method_missing method, *args, &blk
27:       @properties.has_key?(method) ? @properties[method] : super
28:     end
properties() click to toggle source
    # File lib/moqueue/mock_headers.rb, line 18
18:     def properties
19:       @properties
20:     end
received_ack?() click to toggle source
    # File lib/moqueue/mock_headers.rb, line 14
14:     def received_ack?
15:       @received_ack || false
16:     end
to_frame() click to toggle source
    # File lib/moqueue/mock_headers.rb, line 22
22:     def to_frame
23:       nil
24:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.