class JavaExpectationsHook
Public Instance Methods
compile_content(content)
click to toggle source
# File lib/expectations_hook.rb, line 8 def compile_content(content) return content unless content.is_a?(Hash) content.values.join("\n").gsub(/import .+/, '') end
default_smell_exceptions()
click to toggle source
# File lib/expectations_hook.rb, line 14 def default_smell_exceptions LOGIC_SMELLS + FUNCTIONAL_SMELLS end
language()
click to toggle source
# File lib/expectations_hook.rb, line 4 def language 'Java' end