This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

set_dictionary

        # Zlib::Deflate.set_dictionary

(from ruby core)
### Implementation from Deflate
---
    set_dictionary(string)

---

Sets the preset dictionary and returns `string`. This method is
available just only after Zlib::Deflate.new or Zlib::ZStream#reset
method was called. See zlib.h for details.

Can raise errors of Z_STREAM_ERROR if a parameter is invalid (such as
NULL dictionary) or the stream state is inconsistent, Z_DATA_ERROR if
the given dictionary doesn't match the expected one (incorrect adler32
value)



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.