lib/leap/implicit_attributes.rb in leap-0.4.3 vs lib/leap/implicit_attributes.rb in leap-0.4.4
- old
+ new
@@ -1,7 +1,7 @@
module Leap
module ImplicitAttributes
def _leap_implicit_attributes
- Hash[*instance_variables.map { |variable| variable.delete('@').to_sym }.zip(instance_variables.map { |variable| instance_variable_get variable }).flatten]
+ Hash[*instance_variables.map { |variable| variable.to_s.delete('@').to_sym }.zip(instance_variables.map { |variable| instance_variable_get variable }).flatten]
end
end
end