class Crapshoot::Result

An Integer with a description, uses DelegateClass from the stdlib to do this

Attributes

description[RW]

The derivation of the result, as a String.

detailed_description[RW]

The derivation of the result, broken down by tokens, as an Array.

Public Class Methods

new(value) click to toggle source

Creates a new result with the given value.

Everything except the description is delegated to this value.

Calls superclass method
# File lib/crapshoot/result.rb, line 7
def initialize(value)
  super value
end