Class: Fattr::Result

Inherits:
Hash show all
Defined in:
lib/fattr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#objectObject

Returns the value of attribute object.



56
57
58
# File 'lib/fattr.rb', line 56

def object
  @object
end

Instance Method Details

#for(object) ⇒ Object



58
59
60
61
# File 'lib/fattr.rb', line 58

def for(object)
  @object = object
  self
end