lib/musterb/rails_locals_extractor.rb in musterb-0.2.0 vs lib/musterb/rails_locals_extractor.rb in musterb-1.0.0
- old
+ new
@@ -1,6 +1,6 @@
-class Musterb::RailsLocalsExtractor
+class Musterb::RailsLocalsExtractor < Musterb::Extractor
attr_reader :parent, :value
def initialize(locals, binding, parent)
@locals = locals
@parent = parent
@@ -12,6 +12,6 @@
@binding.eval symbol
else
parent[symbol]
end
end
-end
\ No newline at end of file
+end