lib/invar/scope.rb in invar-0.9.1 vs lib/invar/scope.rb in invar-0.9.2
- old
+ new
@@ -2,11 +2,11 @@
module Invar
# A set of configurations
class Scope
def initialize(data = nil)
- @data = convert(data)
+ @data = convert data
@data.freeze
freeze
end
@@ -32,10 +32,10 @@
end
def respond_to_missing?(method_name, include_all)
guard_test_methods method_name
- super method_name, include_all
+ super(method_name, include_all)
end
# Returns a hash representation of this scope and subscopes.
#
# @return [Hash] a hash representation of this scope