Class: Ruby2JS::Serializer

Inherits:
Object
  • Object
show all
Defined in:
lib/wunderbar/render.rb

Instance Method Summary collapse

Instance Method Details

#etagObject



162
163
164
# File 'lib/wunderbar/render.rb', line 162

def etag
  @etag ||= Digest::MD5.hexdigest(to_str)
end

#sourcemap_etagObject



166
167
168
# File 'lib/wunderbar/render.rb', line 166

def sourcemap_etag
  @sourcemap_etag ||= Digest::MD5.hexdigest(sourcemap.inspect)
end