Where in your application are you including telnet_server.rb? Seems like
it might not be included in your code so it can’t access the method.
I have a require “telnet_server” at the top of my controller. It seems
to instantiate the class okay. When I do tsmethods = ts.methods and
then tsmethods.each {|tsmethod| puts tsmethod} none of my methods appear
in the list.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.