lib/polaroid.rb in polaroid-0.0.4 vs lib/polaroid.rb in polaroid-0.0.5
- old
+ new
@@ -1,7 +1,8 @@
-class Polaroid < Module
+require 'json'
+require 'immutable_struct'
- VERSION = "0.0.4"
+class Polaroid < Module
def initialize(*messages)
@messages = messages
@polaroid_struct_class = ImmutableStruct.new(*messages)
define_capture_method