Am 18.02.2014 10:48, schrieb Arup Rakshit:
> Rajarshi Chakravarty wrote in post #1137010:
>> Yes, they are in the same directory.
>> I think the problem is Processor.rb has some statements that get
>> executed when it is 'required' in the other file.
>> I want just the method to be accessible in the other file.
>> How to do that?
> 
> You need to use `require_relative`, instead of `require`. Please try 
> this.

@Arup

You are completely on the wrong track: in Ruby 1.8 there is
no require_relative! Using require is correct.


-- 
GitHub: https://github.com/stomar/
PGP:    0x6B3A101A