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.



53
54
55
# File 'lib/fattr.rb', line 53

def object
  @object
end

Instance Method Details

#for(object) ⇒ Object



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

def for(object)
  @object = object
  self
end