lib/neo/rails/exposure.rb in neo-rails-0.1.0 vs lib/neo/rails/exposure.rb in neo-rails-0.1.1
- old
+ new
@@ -40,10 +40,10 @@
end
private
def exposed?(name)
- instance_variable_get("@#{name}")
+ instance_variable_defined?("@#{name}")
end
end
end
end