lib/mutest/expression/methods.rb in mutest-0.0.9 vs lib/mutest/expression/methods.rb in mutest-0.0.10
- old
+ new
@@ -13,11 +13,11 @@
'.' => Matcher::Methods::Singleton,
'#' => Matcher::Methods::Instance
)
private_constant(*constants(false))
- REGEXP = /\A#{SCOPE_NAME_PATTERN}#{SCOPE_SYMBOL_PATTERN}\z/
+ REGEXP = /\A#{SCOPE_NAME_PATTERN}#{SCOPE_SYMBOL_PATTERN}\z/.freeze
# Syntax of expression
#
# @return [String]
def syntax
@@ -51,8 +51,8 @@
#
# @return [Class, Method]
def scope
Object.const_get(scope_name)
end
- end # Methods
- end # Expression
-end # Mutest
+ end
+ end
+end