Fix error in operation.rb: operation was always static