class Marshal::Structure::TestCase

A TestCase for writing tests for Marshal::Structure and alternative parsers of Marshal streams.

Constants

EVERYTHING

A Marshal stream with (almost) every type in it. The notable absence is of a Data type.

Public Instance Methods

setup() click to toggle source

Creates the following convenience namespace instance variables:

@MS

Marshal::Structure

@MSP

Marshal::Structure::Tokenizer

@MST

Marshal::Structure::Parser

# File lib/marshal/structure/test_case.rb, line 88
def setup
  @MS  = Marshal::Structure
  @MSP = Marshal::Structure::Parser
  @MST = Marshal::Structure::Tokenizer
end