lib/psd/layer_info/object_effects.rb in psd-2.1.2 vs lib/psd/layer_info/object_effects.rb in psd-3.1.2
- old
+ new
@@ -1,9 +1,11 @@
-require_relative '../layer_info'
+require 'psd/layer_info'
class PSD
class ObjectEffects < LayerInfo
- @key = 'lfx2'
+ def self.should_parse?(key)
+ key == 'lfx2'
+ end
def parse
version = @file.read_int
descriptor_version = @file.read_int
\ No newline at end of file