added compatibility to ruby methods (those without parentheses)