Class: Fathom::Outcome
- Inherits:
-
Object
- Object
- Fathom::Outcome
- Extended by:
- Plugins
- Defined in:
- lib/fathom/data/outcome.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Outcome
constructor
A new instance of Outcome.
Methods included from Plugins
Constructor Details
#initialize(attrs = {}) ⇒ Outcome
Returns a new instance of Outcome.
24 25 26 |
# File 'lib/fathom/data/outcome.rb', line 24 def initialize(attrs={}) @attributes = attrs end |
Class Method Details
.infer(obj) ⇒ Object
8 9 10 |
# File 'lib/fathom/data/outcome.rb', line 8 def infer(obj) new(:value => obj) end |