Parent

Methods

Wonderfl::CodeForks

Attributes

code_list[R]

(Not documented)

Public Class Methods

new(payload) click to toggle source

(Not documented)

# File lib/wonderfl/code_forks.rb, line 4
  def initialize(payload)
    raise TypeError, 'Array argument expected' unless payload.is_a? Array
    @code_list = []
    payload.each { |code| @code_list << Wonderfl::Code.new(code) }
  end

Public Instance Methods

count() click to toggle source

(Not documented)

# File lib/wonderfl/code_forks.rb, line 14
  def count
    @code_list.length
  end
each() click to toggle source

(Not documented)

# File lib/wonderfl/code_forks.rb, line 10
  def each
    @code_list.each { |code| yield code }
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.