Parent

Methods

Class Index [+]

Quicksearch

Ramaze::Fiber

Attributes

state[RW]

Public Class Methods

new(*args) click to toggle source

initialize isn’t being called, so we have to hook into ::new

   # File lib/ramaze/snippets/ramaze/fiber.rb, line 4
4:     def self.new(*args)
5:       instance = super
6:       instance.state = {}
7:       instance
8:     end

Public Instance Methods

[](key) click to toggle source
    # File lib/ramaze/snippets/ramaze/fiber.rb, line 12
12:     def [](key)
13:       @state[key]
14:     end
[]=(key, value) click to toggle source
    # File lib/ramaze/snippets/ramaze/fiber.rb, line 16
16:     def []=(key, value)
17:       @state[key] = value
18:     end
key?(key) click to toggle source
    # File lib/ramaze/snippets/ramaze/fiber.rb, line 20
20:     def key?(key)
21:       @state.key?(key)
22:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.