lib/pelusa/class_analyzer.rb in pelusa-0.2.3 vs lib/pelusa/class_analyzer.rb in pelusa-0.2.4
- old
+ new
@@ -14,10 +14,10 @@
name.name
end
# Public: Returns the type of container being examined (class or module).
def type
- @klass.is_a?(Rubinius::AST::Class) ? "class" : "module"
+ @klass.is_a?(Rubinius::ToolSets::Runtime::ToolSet::AST::Class) ? "class" : "module"
end
# Public: Analyzes a class with a series of lints.
#
# lints - The lints to check for.