lib/musterb/instance_variable_extractor.rb in musterb-1.0.0 vs lib/musterb/instance_variable_extractor.rb in musterb-1.0.1
- old
+ new
@@ -1,6 +1,6 @@
-class Musterb::InstanceVariableExtractor < Musterb::Extractor
+class Musterb::InstanceVariableExtractor
attr_reader :parent, :value
def initialize(value, parent)
@value = value
@parent = parent
@@ -11,6 +11,6 @@
value.instance_variable_get("@#{symbol}")
else
@parent[symbol]
end
end
-end
+end
\ No newline at end of file