methods in ruby.