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
def initialize(properties={})
  @properties = properties
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.