Method: Lookbook.data=

Defined in:
lib/lookbook.rb

.data=(new_data) ⇒ Store

Replace the global data store contents

Parameters:

  • new_data (Hash)

    Hash of data to store

Returns:

  • (Store)

    The global data store instance



64
65
66
# File 'lib/lookbook.rb', line 64

def data=(new_data)
  @_data = Store.new(new_data)
end