facets icon indicating copy to clipboard operation
facets copied to clipboard

'string/xor.rb' should be named 'string/op_xor.rb'

Open rubyworks opened this issue 16 years ago • 2 comments

string/xor.rb file should probably be called op_xor.rb instead. That's the going procedure so that facets-live.rb will be able to convert operators to names. Hover someone mentioned it seemed rather redundant to use "op" prefix. Perhaps these methods could just have names without the the prefix?

If there are no significant naming conflicts, then getting rid of the op prefix is a possibility. In the mean time a op_xor.rb alias to xor.rb will do the trick.

rubyworks avatar Nov 10 '09 22:11 rubyworks

Let's drop the op_ prefix, and make a breaking change in 4.0.0

ioquatix avatar Mar 09 '17 12:03 ioquatix

Can you explain what you mean by facets-live.rb convert operators to names?

ioquatix avatar Mar 09 '17 12:03 ioquatix