Method: WorkSnaps::Base#update

Defined in:
lib/worksnaps/base.rb

#update(attrs) ⇒ WorkSnaps::Base

Update the attributes of an object

Parameters:

Returns:



96
97
98
99
# File 'lib/worksnaps/base.rb', line 96

def update(attrs)
  @attrs.update(attrs)
  self
end